creamlike1024
ec61534256
feat: send SSE ping before get response
2025-05-09 13:57:00 +08:00
CaIon
7aa54a2cd7
feat: add AzureNoRemoveDotTime constant and update channel handling #1044
...
- Introduced a new constant `AzureNoRemoveDotTime` in `constant/azure.go` to manage model name formatting for channels created after May 10, 2025.
- Updated `distributor.go` to set `channel_create_time` in the context.
- Modified `adaptor.go` to conditionally remove dots from model names based on the channel creation time.
- Enhanced `relay_info.go` to include `ChannelCreateTime` in the `RelayInfo` struct.
- Updated English localization files to reflect changes in model name handling for new channels.
2025-05-08 23:19:40 +08:00
CaIon
a836e97315
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 23:19:38 +08:00
liusanp
d6e601b424
fix: xAi response
2025-05-08 23:19:35 +08:00
liusanp
8c3a559690
fix: xAi requestUrl
2025-05-08 23:19:34 +08:00
liusanp
c008d391df
fix: quality, size or style are not supported by xAI API
2025-05-08 23:19:32 +08:00
Alex Liu
0d456df588
fix: gemini response json schema
2025-05-07 18:08:56 +08:00
creamlike1024
459c277c94
feat: 添加 built in tools 计费
...
- 增加非流的工具调用次数统计
- 添加 web search 和 file search 计费
2025-05-06 21:58:01 +08:00
CaIon
18b3300ff1
feat: implement OpenAI responses handling and streaming support with built-in tool tracking
2025-05-05 00:40:16 +08:00
CaIon
419a056fbf
refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
2025-05-04 17:35:45 +08:00
Calcium-Ion
48af027903
Merge pull request #1020 from QuantumNous/v1responses
...
feat: support /v1/responses API
2025-05-04 17:13:39 +08:00
Calcium-Ion
9bf90c3baf
Merge pull request #1012 from tbphp/vertex_thinking_support
...
feat: support thinking suffix for vertex gemini channel
2025-05-04 17:11:27 +08:00
CaIon
fe3232bf23
feat: enhance OaiResponsesStreamHandler to handle output text and improve response streaming
2025-05-04 17:09:37 +08:00
creamlike1024
1236fa8fe4
add OaiResponsesStreamHandler
2025-05-03 22:36:27 +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
tbphp
efc9d200b1
feat: support thinking suffix for vertex gemini channel
2025-04-29 13:30:03 +08:00
CaIon
a03c615fa4
Merge remote-tracking branch 'new-api/main' into gpt-image
...
# Conflicts:
# relay/relay-image.go
2025-04-26 15:54:08 +08:00
CaIon
487ef35c58
feat: support image edit model mapping
...
(cherry picked from commit 1a869d8ad77f262ee27675ec2deaf451b1743eb7)
2025-04-26 15:48:59 +08:00
xyfacai
f9f32a0158
feat: support /images/edit
...
(cherry picked from commit 1c0a1238787d490f02dd9269b616580a16604180)
2025-04-26 15:44:56 +08:00
CaIon
dc22f7d32f
refactor: update deepseek beta api
2025-04-25 16:26:16 +08:00
CaIon
25ae077ac9
refactor: update claude media source handling
2025-04-24 15:59:43 +08:00
CaIon
aaa41a8074
refactor: update ClaudeMessageSource struct to include optional Url field and adjust media source handling in relay-claude #993
2025-04-24 00:39:09 +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
ee4f27d01b
refactor: simplify model prefix checks and update message role for o-series models
2025-04-17 16:50:52 +08:00
CaIon
214ca4db56
fix: claude parallel function calling
2025-04-15 04:52:33 +08:00
CaIon
473e8e0eaf
feat: support gemini output text and inline images. ( close #866 )
2025-04-15 02:32:51 +08:00
CaIon
99efc1fbb6
fix: try to fix claude to openai format mcp #966
2025-04-15 01:16:06 +08:00
CaIon
2f3acd9d22
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
CaIon
ef8ae4db80
fix: xAI usage
2025-04-11 23:31:32 +08:00
CaIon
90576d0261
feat: enhance Claude to OpenAI request conversion with additional relay info support
2025-04-11 19:13:38 +08:00
CaIon
4b3e30e669
feat: 完善openai转claude支持
2025-04-11 18:28:50 +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
a4fb33957f
feat: support zhipu_4v embeddings path
2025-04-10 20:53:51 +08:00
Calcium-Ion
909c5eb276
Merge pull request #959 from Praying/main
...
fix(relay): 优化数据流处理
2025-04-10 17:21:55 +08:00
CaIon
8723e3f239
feat: add xAI handling and response processing
2025-04-10 17:20:59 +08:00
quran
9328b907f2
fix(relay): 优化数据流处理
...
- 移除了 bufio 的无效使用
- 在 StreamScannerHandler 中增加了初始和最大缓冲区大小的常量设置
- 调整 StreamScannerHandler 中缓冲区大小,避免出现token too long报错
2025-04-10 16:56:16 +08:00
HynoR
700c05b826
feat: update adaptor methods and add new image model
2025-04-10 15:08:12 +08:00
HynoR
c5103237b0
feat: add xai grok-3-mini reasoning effort
2025-04-10 13:31:43 +08:00
HynoR
f500eb17a8
feat: add xai channel
...
feat: add xai channel
feat: add xai channel
2025-04-10 13:04:43 +08:00
CaIon
a29f4d88c5
Update model-ratio.go
2025-04-04 23:41:41 +08:00
jasinliu
dc132655a6
fix dify thinking
2025-03-28 00:21:27 +08:00
Seefs
20c043f584
fix: claude function calling type
2025-03-19 22:48:49 +08:00
1808837298@qq.com
7143b0f160
feat: Add support for cross-region AWS model handling in awsStreamHandler
2025-03-17 23:41:00 +08:00
1808837298@qq.com
19935ee8ac
feat: Enhance ConvertClaudeRequest method to set request model and handle vertex-specific request conversion
2025-03-17 17:13:33 +08:00
Calcium-Ion
b5aa3c129b
Merge pull request #872 from neotf/main
...
feat: support AWS Model CrossRegion
2025-03-17 16:18:11 +08:00