CalciumIon
9a54b345c5
feat: support gemini-2.0-flash-thinking #639 #637
2024-12-20 13:20:07 +08:00
CalciumIon
2d865eb735
refactor: Improve channel status update logic and clean up code
...
- Simplified conditional checks in UpdateChannelStatusById function in channel.go to enhance readability.
- Commented out unused image number check in relay-gemini.go for clarity.
- Updated JSON field in en.json for currency consistency, changing "元" from "RMB/CNY" to "CNY" and added a space in "实付金额:" for formatting.
2024-12-17 15:33:16 +08:00
CalciumIon
4163713714
refactor: Update SystemInstructions type in GeminiChatRequest and adjust handling in CovertGemini2OpenAI
...
- Changed SystemInstructions from *GeminiPart to *GeminiChatContent in GeminiChatRequest for improved structure.
- Updated CovertGemini2OpenAI function to accommodate the new SystemInstructions type, ensuring proper handling of message content.
2024-12-16 22:41:23 +08:00
CalciumIon
e6c6bbdef9
feat: support gemini SystemInstructions #408
2024-12-16 20:19:29 +08:00
CalciumIon
5d338337a0
feat: 兼容OpenAI格式下设置gemini模型联网搜索 #615
2024-12-12 17:58:25 +08:00
CalciumIon
195ab1fdd5
feat: add gemini tool_calls finish reason
2024-12-06 14:31:27 +08:00
CalciumIon
ac4262c542
feat: support vertex ai #377
2024-08-27 20:19:51 +08:00
1808837298@qq.com
b8291dcd13
fix: gemini
2024-07-23 18:34:16 +08:00
Yan Tau
b9454c3f14
fix: the base64 format image_url for gemini
2024-07-22 21:20:23 +08:00
CalciumIon
3875b141c6
fix: gemini stream finish reason ( close #378 )
2024-07-19 17:16:20 +08:00
CalciumIon
f96291a25a
feat: support gemini tool calling ( close #368 )
2024-07-18 20:28:47 +08:00
CalciumIon
4e7e206290
fix: gemini usage ( close #354 )
2024-07-10 16:01:09 +08:00
CalciumIon
402a415c79
feat: 支持设置流模式超时时间(gemini, claude)
2024-06-27 17:24:48 +08:00
CalciumIon
f2654692e8
feat: first response time support gemini and claude
2024-06-27 00:16:39 +08:00
1808837298@qq.com
099068f543
feat: 支持设置worker访问请求中的图片地址
2024-05-28 17:59:53 +08:00
1808837298@qq.com
bfbbe67fcd
refactor: 重构敏感词
2024-05-23 23:59:55 +08:00
CaIon
d1c8947851
fix: 规范claude返回格式
2024-04-25 23:57:39 +08:00
CaIon
44a8ade4ba
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
a232afe9fd
feat: 统一错误提示
2024-03-20 20:36:55 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
8fe8340b6e
fix: fix gemini channel test
2024-03-08 21:38:51 +08:00
1808837298@qq.com
626217fbd4
fix: 修复流模式错误扣费的问题 ( close #95 )
2024-03-06 17:41:55 +08:00
1808837298@qq.com
5b18cd6b0a
feat: 初步重构
2024-02-29 01:08:18 +08:00