mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
feat: v0.27.0 - 重构 Agent 架构并新增 API Key Provider 管理系统
主要变更: - 引入基于 Protocol 的 Agent 架构(支持 OpenAI/Anthropic/Kiro/Gemini) - 新增 API Key Provider 管理系统,支持多种第三方 AI 服务商 - 重构流式响应处理,新增统一的 Stream 处理模块 - 新增协议转换器(Translator)模块,支持 Kiro 到 OpenAI/Anthropic 的转换 - 前端新增 API Key Provider 配置界面和导入/导出功能 - 新增 50+ AI 服务商图标支持 - 优化 Agent 工具调用显示和流式渲染 - 完善数据库 schema,新增 api_key_providers 表 技术细节: - 重构 native_agent.rs,引入策略模式的 Protocol trait - 新增 parsers 和 generators 模块处理不同协议的 SSE 流 - 新增完整的 API Key 验证和连接测试功能 - 改进前端 TypeScript 类型定义 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
74fa3202ce
commit
59cd4ecfbd
@@ -501,6 +501,7 @@ mod base64 {
|
||||
}
|
||||
|
||||
pub use self::base64::decode as base64_decode;
|
||||
#[allow(unused_imports)]
|
||||
pub use self::base64::encode as base64_encode;
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
//! 提供 YAML 配置文件支持、热重载和配置导入导出功能
|
||||
//! 同时保持与旧版 JSON 配置的向后兼容性
|
||||
|
||||
#![allow(unused_imports)]
|
||||
|
||||
mod export;
|
||||
mod hot_reload;
|
||||
mod import;
|
||||
|
||||
Reference in New Issue
Block a user