creamlike1024
425feb88d8
feat: support /v1/responses API
2025-05-02 13:59:46 +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
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
bf80d71ddf
feat: Add Gemini version settings configuration support ( close #568 )
2025-02-26 18:19:09 +08:00
Sh1n3zZ
61d2a2f92d
feat: add Gemini Imagen image generation support
2025-02-18 01:41:58 +08:00
Jerry
7588c42b42
Fix M3E not working
2025-01-23 05:54:39 +08:00
CalciumIon
58fac129d6
feat: Enhance GeminiChatHandler to include RelayInfo
...
- Updated the GeminiChatHandler function to accept an additional parameter, RelayInfo, allowing for better context handling during chat operations.
- Modified the DoResponse method in the Adaptor to pass RelayInfo to GeminiChatHandler, ensuring consistent usage of upstream model information.
- Enhanced the GeminiChatStreamHandler to utilize the upstream model name from RelayInfo, improving response accuracy and data representation in Gemini requests.
2024-12-23 00:02:15 +08:00
CalciumIon
03256dbdad
refactor: Enhance error handling in Gemini request conversion
...
- Updated `CovertGemini2OpenAI` function to return an error alongside the GeminiChatRequest, improving error reporting for image processing.
- Modified `ConvertRequest` methods in both `adaptor.go` files to handle potential errors from the Gemini conversion, ensuring robust request handling.
- Improved clarity and maintainability of the code by explicitly managing error cases during request conversion.
2024-12-20 21:50:58 +08:00
HowieWood
8eb32e9b3f
Modify the default gemini API to v1beta
2024-11-16 12:21:50 +00:00
1808837298@qq.com
33af069fae
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
CalciumIon
ac4262c542
feat: support vertex ai #377
2024-08-27 20:19:51 +08:00
CalciumIon
e504665f68
feat: 优化Gemini模型版本获取逻辑
2024-08-02 17:23:59 +08:00
HowieWu
22a98c5879
修改Gemini版本获取逻辑
...
使用GEMINI_MODEL_API环境变量覆盖默认版本映射,使用","分隔不同模型和版本
-e GEMINI_MODEL_API="gemini-1.5-pro-latest:v1beta,gemini-1.5-pro-001:v1beta,gemini-1.5-pro:v1beta,gemini-1.5-flash-latest:v1beta,gemini-1.5-flash-001:v1beta,gemini-1.5-flash:v1beta,gemini-ultra:v1beta,gemini-1.5-pro-exp-0801:v1beta"
2024-08-02 11:20:26 +08:00
CalciumIon
f96291a25a
feat: support gemini tool calling ( close #368 )
2024-07-18 20:28:47 +08:00
CalciumIon
bcc7f3edb2
refactor: audio relay
2024-07-16 22:07:10 +08:00
CalciumIon
0f687aab9a
fix: azure stream options
2024-07-15 16:05:30 +08:00
CalciumIon
4e7e206290
fix: gemini usage ( close #354 )
2024-07-10 16:01:09 +08:00
CalciumIon
8af4e28f75
feat: support cohere rerank
2024-07-06 17:09:22 +08:00
CalciumIon
f2654692e8
feat: first response time support gemini and claude
2024-06-27 00:16:39 +08:00
HowieWu
a5b84ba524
Update adaptor.go
2024-05-15 10:25:01 +08:00
Maple Gao
d7e117acf5
fix: Gemini 1.5 name error
2024-04-15 14:27:18 +08:00
Maple Gao
21250a46a6
feat: support google v1beta and Gemini Ultra
2024-04-15 14:19:19 +08:00
CaIon
44a8ade4ba
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
64b9d3b58c
feat: 初步兼容生成内容检查
2024-03-20 19:00:51 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
3c3c53051d
fix: fix gemini
2024-03-08 20:29:04 +08:00
1808837298@qq.com
6013219f5b
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
5b18cd6b0a
feat: 初步重构
2024-02-29 01:08:18 +08:00