Files
proxycast/src-tauri
pengshiyuandClaude Opus 4.5 0a99125ba9 feat: 智能降级凭证选择 - Provider Pool 回退至 API Key Provider
当 Provider Pool 中没有可用凭证时,自动降级到 API Key Provider 获取凭证:

- 在 AppState 中添加 api_key_service 字段支持智能降级
- 在 provider_pool_service.rs 中添加 select_credential_with_fallback 方法
- 在 api_key_provider_service.rs 中添加 map_pool_type_to_api_type 类型映射
- 更新 /v1/chat/completions 端点支持多源凭证选择
- 支持 OAuth、API Key、Plugin 三种凭证来源的智能选择

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 19:56:05 +08:00
..
2025-12-20 21:04:22 +07:00