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
@@ -1,5 +1,7 @@
pub mod client;
pub mod context;
pub mod continuation;
pub mod provider;
pub mod providers;
pub mod service;
pub mod tree_split;