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
76acfdc9e2
fix: Correct JSON field name for SystemInstructions in GeminiChatRequest
...
- Updated the JSON field name from "system_instructions" to "system_instruction" to ensure consistency and accuracy in the data structure.
2024-12-16 22:12:56 +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
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
1808837298@qq.com
5b18cd6b0a
feat: 初步重构
2024-02-29 01:08:18 +08:00