feat: unify installation model catalog
This commit is contained in:
@@ -6,6 +6,7 @@ from datetime import UTC, datetime
|
||||
from pathlib import Path
|
||||
from types import SimpleNamespace
|
||||
|
||||
import pytest
|
||||
from typer.testing import CliRunner
|
||||
|
||||
from tht.cli import app
|
||||
@@ -13,6 +14,12 @@ from tht.memory import MemoryRecord, save_registry
|
||||
from tht.ports.vector import VectorStoreError
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _ignore_operator_profile(monkeypatch):
|
||||
"""Exercise the self-contained server runtime fixture, not the developer's harness/.env."""
|
||||
monkeypatch.delenv("THT_PROFILE", raising=False)
|
||||
|
||||
|
||||
class _FakeEmbedder:
|
||||
def embed_documents(self, documents):
|
||||
return [[0.1] * 4 for _ in documents]
|
||||
|
||||
Reference in New Issue
Block a user