Deadwalk
|
48396d3f33
|
fix: 修复CodeReview发现的安全问题和代码质量问题 | fix security and code quality issues identified by CodeReview
- 修复JSON注入漏洞:使用json.Marshal()安全转义字符串内容
- 定义常量CHARS_PER_TOKEN替换硬编码的token估算数字4
- 处理UnmarshalJSON错误,避免静默失败并记录错误日志
- 定义常量替换硬编码的API端点路径,提高可维护性
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-28 16:41:48 +08:00 |
|
Deadwalk
|
008ffe4662
|
feat: 支持Anthropic API协议 | support Anthropic API protocol
- 添加Anthropic适配器实现 | Add Anthropic adaptor implementation
- 支持Anthropic消息格式转换 | Support Anthropic message format conversion
- 添加Vertex AI Claude适配器支持 | Add Vertex AI Claude adapter support
- 更新Anthropic的中继模式定义 | Update relay mode definitions for Anthropic
- 添加Anthropic控制器和路由 | Add Anthropic controller and routing
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: zgdmemail@gmail.com
|
2025-09-28 11:13:55 +08:00 |
|
Laisky.Cai
|
adba54acd3
|
fix: implement improved headers for anthropic to support 8k outputs (#1654)
|
2024-07-16 23:48:54 +08:00 |
|
JustSong
|
24ed170e7b
|
chore: reorganize adaptor related package
|
2024-04-06 01:36:48 +08:00 |
|