Files
cc-switch/src-tauri
T
YoVinchen bfcdde5011 feat(proxy): add ProviderType enum for fine-grained provider detection
Introduce ProviderType enum to distinguish between different provider
implementations (Claude, ClaudeAuth, Codex, Gemini, GeminiCli, OpenRouter).
This enables proper authentication handling and request transformation
based on the actual provider type rather than just AppType.

- Add ProviderType enum with detection logic from config
- Enhance Claude adapter with OpenRouter detection
- Enhance Gemini adapter with CLI mode detection
- Add helper methods for provider type inference
bfcdde5011 ยท 2025-12-03 17:12:13 +08:00
History
..
2025-11-22 19:18:35 +08:00
2025-12-01 22:41:43 +08:00