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:
root
2026-04-23 02:24:15 -05:00
parent e2ccddd8d2
commit e27a17e950
7 changed files with 236 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
pub mod ollama;
pub mod openrouter;