mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
#81 (N+1) remaining: - settings.ts: _resolveRuntimeCommand fail-closed (no getCachedPython fallback) - managed-runtime.ts: PYTHON_310_DEPRECATED warning removed, single 3.11+ gate - Python backend: checker/setup_wizard/status → 3.11 minimum - i18n: 3.10 → 3.11 user-facing strings #82 (N+2) deletions: - constants.ts: removed setup_complete, auto_update, auto_update_on_startup, selected_skill_platform - main.ts: removed _autoUpdate, _firstLaunchSnapshotMigration, credential migration - modals.ts: removed setup_complete write - settings.ts: removed categorizeMaintenanceRow dead import - build_state.py: removed deprecated get_vector_build_state_path Build: 261.4KB | Tests: 384/384 passed | Typecheck: clean
22 lines
637 B
Python
22 lines
637 B
Python
"""Deprecated. Import from paperforge.embedding instead."""
|
|
from __future__ import annotations
|
|
|
|
import warnings
|
|
|
|
from paperforge.embedding import (
|
|
delete_paper_vectors, # noqa: F401
|
|
embed_paper, # noqa: F401
|
|
get_collection, # noqa: F401
|
|
get_embed_status, # noqa: F401
|
|
get_vector_db_path, # noqa: F401
|
|
mark_vector_build_state, # noqa: F401
|
|
read_vector_build_state, # noqa: F401
|
|
retrieve_chunks, # noqa: F401
|
|
write_vector_build_state, # noqa: F401
|
|
)
|
|
|
|
warnings.warn(
|
|
"paperforge.memory.vector_db is deprecated, use paperforge.embedding instead",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|