Cleanup: Delete ALL 242 shims, update ALL consumer imports
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 41s
CI / test-go-edu-search (push) Successful in 32s
CI / test-python-klausur (push) Failing after 2m41s
CI / test-python-agent-core (push) Successful in 34s
CI / test-nodejs-website (push) Successful in 39s
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 41s
CI / test-go-edu-search (push) Successful in 32s
CI / test-python-klausur (push) Failing after 2m41s
CI / test-python-agent-core (push) Successful in 34s
CI / test-nodejs-website (push) Successful in 39s
klausur-service: 183 shims deleted, 26 test files + 8 source files updated backend-lehrer: 59 shims deleted, main.py + 8 source files updated All imports now use the new package paths directly. Zero shims remaining in the entire codebase. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@ from pydantic import BaseModel
|
||||
|
||||
from qdrant_service import get_qdrant_client, search_nibis_eh
|
||||
from minio_storage import get_presigned_url, list_documents
|
||||
from eh_pipeline import generate_single_embedding
|
||||
from korrektur.eh_pipeline import generate_single_embedding
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import storage
|
||||
from qdrant_service import (
|
||||
get_collection_info, delete_eh_vectors, search_eh, index_eh_chunks
|
||||
)
|
||||
from eh_pipeline import (
|
||||
from korrektur.eh_pipeline import (
|
||||
decrypt_text, verify_key_hash, process_eh_for_indexing,
|
||||
generate_single_embedding, EncryptionError, EmbeddingError
|
||||
)
|
||||
|
||||
@@ -25,9 +25,9 @@ import storage
|
||||
|
||||
# BYOEH imports (conditional)
|
||||
try:
|
||||
from eh_pipeline import decrypt_text, EncryptionError
|
||||
from korrektur.eh_pipeline import decrypt_text, EncryptionError
|
||||
from qdrant_service import search_eh
|
||||
from eh_pipeline import generate_single_embedding
|
||||
from korrektur.eh_pipeline import generate_single_embedding
|
||||
BYOEH_AVAILABLE = True
|
||||
except ImportError:
|
||||
BYOEH_AVAILABLE = False
|
||||
|
||||
Reference in New Issue
Block a user