- M3-004: Implement OpenRouterAdapter using openai SDK with custom base URL (https://openrouter.ai/api/v1). Fetches model catalog on registration, gracefully degrades when OPENROUTER_API_KEY is absent, streams completions via OpenAI-compatible API. - M3-006: Enhance OllamaAdapter with embedding model registration (nomic-embed-text, mxbai-embed-large) and an embed(text, model?) method that calls Ollama's /api/embeddings endpoint. listModels() now returns both completion and embedding models. Prepares for M3-009 EmbeddingService. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
394 KiB
394 KiB