Files
grimoire/package.json
Claude ccca821458 refactor: unify AI providers with OpenAI SDK, remove WebLLM
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
2026-01-30 23:14:40 +00:00

4.0 KiB