mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
当 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>