Phase 39: Provider Adapter Refactor
- ProviderAdapter trait with chat(), embed(), unload(), health() - OllamaAdapter wrapping existing AiClient - OpenRouterAdapter for openrouter.ai API integration - provider_key() routing by model prefix (openrouter/*, etc)
This commit is contained in:
@@ -334,6 +334,11 @@
|
||||
- `/v1/sessions` — returns `{data: [], note: "Phase 38: stateless"}`
|
||||
- Langfuse trace integration (fire-and-forget, Phase 40 early)
|
||||
- 12 unit tests green, curl gates pass
|
||||
- [x] **Phase 39: Provider Adapter Refactor** (2026-04-23)
|
||||
- `ProviderAdapter` trait with `chat()` + `embed()` + `unload()` + `health()`
|
||||
- `OllamaAdapter` — wraps existing AiClient
|
||||
- `OpenRouterAdapter` — HTTP client to openrouter.ai
|
||||
- `provider_key()` routing by model prefix (openrouter/* → OpenRouter)
|
||||
- [ ] Fine-tuned domain models (Phase 25+)
|
||||
- [ ] Multi-node query distribution (only if ceilings bite)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user