Define the LLM adapter interface in backend/engine/adapters/base.py with async methods complete(), list_models(), and test_connection(). The AdapterResponse dataclass holds response text, token counts, latency, model name, and raw metadata. Includes 11 tests covering instantiation guards, concrete subclass behavior, and dataclass semantics. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_adapters_base.py | ||
| test_alembic.py | ||
| test_auth.py | ||
| test_config.py | ||
| test_main.py | ||
| test_models.py | ||
| test_routers.py | ||
| test_schemas.py | ||
| test_stack_integration.py | ||
| test_worker.py | ||