creamlike1024
9496dac448
feat: gemini audio input billing
2025-06-07 12:26:23 +08:00
RedwindA
f81225788d
修复2.5-pro的预算范围
2025-06-06 01:58:02 +08:00
RedwindA
c2f209abb7
解决合并冲突
2025-06-06 01:29:06 +08:00
RedwindA
a52a67176e
清理注释
2025-06-06 01:09:51 +08:00
RedwindA
f13e4bf486
Fix: Correctly relay FunctionResponse content for Gemini API
2025-06-06 00:56:38 +08:00
RedwindA
c7e812361d
fix: 移除流式响应结尾的[Done],以适应Gemini API的行为
2025-06-04 15:41:25 +08:00
IcedTangerine
b0cbf71a1c
Merge pull request #1107 from QuantumNous/gemini-relay
...
Gemini 格式
2025-06-03 10:50:50 +08:00
Calcium-Ion
40e640511b
Merge pull request #1139 from RedwindA/gemini-fix
...
feat: 增加对Gemini MimeType类型的验证
2025-06-02 22:33:01 +08:00
RedwindA
148c974912
feat: 增加对GeminiMIME类型的验证
2025-06-02 19:00:55 +08:00
RedwindA
f1ee9a301d
refactor: enhance cleanFunctionParameters for improved handling of JSON schema, including support for $defs and conditional keywords
2025-06-01 02:08:13 +08:00
xqx121
1c4d7fd84b
Fix: Gemini2.5pro ThinkingConfig
2025-05-31 17:50:00 +08:00
creamlike1024
d90e4bef63
gemini stream
2025-05-26 14:50:50 +08:00
creamlike1024
738a9a4558
gemini text generation
2025-05-26 13:34:41 +08:00
CaIon
e18001299b
feat: enhance Gemini response handling by adding reasoning content and updating JSON decoding method
2025-05-22 16:11:50 +08:00
CaIon
66bdfe180c
feat: add Thought field to GeminiPart and update response handling in streamResponseGeminiChat2OpenAI
2025-05-22 15:52:23 +08:00
CaIon
498d73f67c
refactor: update JSON field names in GeminiChatRequest for consistency
2025-05-19 20:26:30 +08:00
Alex Liu
0d456df588
fix: gemini response json schema
2025-05-07 18:08:56 +08:00
creamlike1024
425feb88d8
feat: support /v1/responses API
2025-05-02 13:59:46 +08:00
CaIon
b64480b750
fix: gemini thinking tokens count #1014
2025-04-29 16:21:54 +08:00
CaIon
17e8a3432a
refactor: update GeminiThinkingConfig initialization
2025-04-18 23:13:28 +08:00
CaIon
790af65b2c
refactor: remove unsupported 'exclusiveMinimum' field from cleanFunctionParameters
2025-04-18 22:40:05 +08:00
CaIon
6522147183
refactor: remove unsupported root-level fields from cleanFunctionParameters
2025-04-18 21:38:12 +08:00
CaIon
4c4dc6e8b4
feat: add gemini thinking suffix support #981
2025-04-18 19:36:18 +08:00
CaIon
473e8e0eaf
feat: support gemini output text and inline images. ( close #866 )
2025-04-15 02:32:51 +08:00
CaIon
cca9c0479f
feat: enhance file handling and logging in the application
2025-04-11 16:23:54 +08:00
CaIon
2ec4565601
feat: implement parameter cleaning for Gemini functions
2025-04-10 22:35:03 +08:00
CaIon
a29f4d88c5
Update model-ratio.go
2025-04-04 23:41:41 +08:00
1808837298@qq.com
c183c1231c
refactor: Replace direct access to ImageUrl with GetImageMedia method across multiple relay channels
2025-03-15 19:43:37 +08:00
1808837298@qq.com
7e46d4217d
feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
2025-03-13 19:32:08 +08:00
1808837298@qq.com
bd48f43410
feat: claude relay
2025-03-12 21:31:46 +08:00
Sh1n3zZ
e1b9f164f9
feat: gemini Embeddings support
2025-03-10 23:32:06 +08:00
1808837298@qq.com
558e625a01
fix: Prevent resource leaks by adding body close in stream handlers
2025-03-05 19:51:22 +08:00
1808837298@qq.com
37a83ecc33
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00
1808837298@qq.com
13ab0f8e4f
fix: gemini&claude tool call format #795 #766
2025-02-26 23:56:10 +08:00
1808837298@qq.com
6d8d40e67b
fix: claude tool call format #795 #766
2025-02-26 23:40:16 +08:00
1808837298@qq.com
ed4e1c2332
fix: Update Gemini safety settings category
2025-02-26 19:18:00 +08:00
1808837298@qq.com
bf80d71ddf
feat: Add Gemini version settings configuration support ( close #568 )
2025-02-26 18:19:09 +08:00
1808837298@qq.com
e19b244e73
feat: Add Gemini safety settings configuration support ( close #703 )
2025-02-26 16:54:43 +08:00
Sh1n3zZ
61d2a2f92d
feat: add Gemini Imagen image generation support
2025-02-18 01:41:58 +08:00
Calcium-Ion
88bdedd2c9
Merge pull request #723 from kuwork/main
...
Support for MokaAI M3E
2025-02-11 22:16:18 +07:00
HynoR
efdd6fb657
chore: sync gemini aistudio model
2025-02-06 13:32:19 +08:00
kuwork
89d48a6618
Merge branch 'main' into main
2025-02-04 22:52:37 +08:00
Jerry
7588c42b42
Fix M3E not working
2025-01-23 05:54:39 +08:00
Butui Hu
eda7ef50e0
Fix temperature not being set to 0 due to json omitempty
...
The issue was caused by the `omitempty` tag in the Go struct, which prevented the `temperature` field from being included in the JSON output when it was set to 0.
Signed-off-by: Butui Hu <hot123tea123@gmail.com >
2025-01-21 12:54:09 +08:00
Yan
2a15dfccea
fix: Gemini 其他文件类型的支持(Base64URL)
2024-12-29 10:11:39 +08:00
Yan
9e5a7ed541
fix: Gemini 函数调用的文本转义
2024-12-29 06:11:44 +08:00
CalciumIon
2b38e8ed8d
feat: add multi-file type support for Gemini and Claude
...
- Add file data DTO for structured file handling
- Implement file decoder service
- Update Claude and Gemini relay channels to handle various file types
- Reorganize worker service to cf_worker for clarity
- Update token counter and image service for new file types
2024-12-29 00:00:24 +08:00
Yan
72dc54309c
fix: 转义 Gemini 工具调用中的反斜杠
2024-12-28 18:29:48 +08:00
Yan
38cff317a0
fix: add index in the tool calls when chat by stream (gemini)
2024-12-28 17:56:31 +08:00
tenacious
3409d7a6b6
fix delete title schema
2024-12-26 00:24:45 +08:00