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. |
||
|---|---|---|
| .. | ||
| engine | ||
| mcp | ||
| routers | ||
| tests | ||
| websocket | ||
| __init__.py | ||
| auth.py | ||
| config.py | ||
| main.py | ||
| models.py | ||
| requirements.txt | ||
| schemas.py | ||
| worker.py | ||