Files
grimoire/package.json
Claude ac7b1847f6 Add PPQ provider integration with real API support
- Created PPQProviderAdapter with OpenAI-compatible API integration
- Implemented streaming support for real-time token-by-token responses
- Added provider configuration system with localStorage persistence
- Built LLMSettingsDialog for configuring provider and API key
- Created Select UI component from Radix UI
- Updated LLMChatViewer to support dynamic provider switching
- Preselected Claude 3.7 Sonnet as recommended by PPQ
- Added model selection dropdown in chat header
- Implemented cost tracking based on token usage
- Supports 13 models across Claude, GPT, and Gemini families

Provider Features:
- OpenAI-compatible API (https://api.ppq.ai)
- Bearer token authentication
- Streaming SSE responses
- Token and cost calculation
- Graceful error handling

The LLM chat now works with real APIs, not just mock responses.
2026-01-16 09:50:56 +00:00

3.6 KiB