mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-18 19:37:19 +02:00
Remove WebLLM (local model) support and standardize all AI providers on the OpenAI-compatible API pattern using the official OpenAI SDK. Key changes: - Add provider presets for PPQ, OpenRouter, OpenAI, Anthropic, DeepSeek, Groq, Together, Fireworks, xAI, and custom providers - Create unified OpenAI client factory with provider-specific handling - Dynamic model fetching from provider /v1/models endpoints - Add connection testing before saving providers - Two-step provider add flow: select preset → configure API key - Track recently used models per provider - Remove webllm-provider.ts, webllm-worker.ts, ppq-provider.ts - Simplify AIViewer UI by removing WebLLM status checks This follows the architecture patterns from shakespeare/soapbox-pub for a more maintainable multi-provider LLM chat implementation. https://claude.ai/code/session_01HqtD9R33oqfB14Gu1V5wHC
4.0 KiB
4.0 KiB