liusanp
2e73714f49
fix: quality, size or style are not supported by xAI API
2025-05-08 23:19:32 +08:00
9
882d1723db
fix: ensure SSE ping packets are sent before upstream response
...
These changes ensures SSE ping packets are sent before receiving a response from the upstream. The previous implementation did not send ping packets until after the upstream response, rendering the feature ineffective.
2025-05-07 23:29:06 +08:00
IcedTangerine
fdaed7bd00
Merge pull request #1032 from feitianbubu/upstream
...
fix: correct error messages for dall-e models size parameters
2025-05-07 20:56:36 +08:00
Alex Liu
7ecd9d053e
fix: gemini response json schema
2025-05-07 18:08:56 +08:00
CaIon
465504033f
fix: update ResponseChunkData to format data correctly without newline
2025-05-07 17:02:47 +08:00
CaIon
4ad7c26345
feat: add support for BaiduV2 channel in relay info
2025-05-07 16:30:32 +08:00
CaIon
645b19b937
Merge remote-tracking branch 'origin/main'
2025-05-07 16:16:19 +08:00
joey
2cbedaf6d7
feat: support model mapping chain
...
#1033
2025-05-07 16:00:35 +08:00
skynono
451133d92d
fix: correct error messages for dall-e models size parameters
...
(cherry picked from commit 149d06850c10cc6cdb3291164e3e46f99ca59abc)
2025-05-07 11:21:19 +08:00
creamlike1024
6eda56bd45
feat: 添加 built in tools 计费前端显示
2025-05-07 01:08:20 +08:00
creamlike1024
8cebbde4a0
chore: move file search tool price to operation_setting
2025-05-06 23:57:22 +08:00
creamlike1024
1db30c55af
chore: move web search tool price to operation_setting
2025-05-06 23:25:16 +08:00
creamlike1024
a3fe88772f
feat: 添加 built in tools 计费
...
- 增加非流的工具调用次数统计
- 添加 web search 和 file search 计费
2025-05-06 21:58:01 +08:00
CaIon
062dbb109e
feat: add support for DeepSeek channel in streamSupportedChannels
2025-05-06 18:41:01 +08:00
CaIon
e9812b0fd5
feat: implement OpenAI responses handling and streaming support with built-in tool tracking
2025-05-05 00:40:16 +08:00
CaIon
24200df47e
refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
2025-05-04 17:35:45 +08:00
Calcium-Ion
4cc1f2b4e3
Merge pull request #1020 from QuantumNous/v1responses
...
feat: support /v1/responses API
2025-05-04 17:13:39 +08:00
Calcium-Ion
fa89410e41
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
209265e68c
feat: enhance OaiResponsesStreamHandler to handle output text and improve response streaming
2025-05-04 17:09:37 +08:00
creamlike1024
3753e5720a
add OaiResponsesStreamHandler
2025-05-03 22:36:27 +08:00
creamlike1024
8ea4c76f2b
feat: support /v1/responses API
2025-05-02 13:59:46 +08:00
CaIon
d309727e99
fix: gemini thinking tokens count #1014
2025-04-29 16:21:54 +08:00
tbphp
5b81e88e41
feat: support thinking suffix for vertex gemini channel
2025-04-29 13:30:03 +08:00
CaIon
1ab9892090
Merge remote-tracking branch 'new-api/main' into gpt-image
...
# Conflicts:
# relay/relay-image.go
2025-04-26 15:54:08 +08:00
CaIon
0647872c15
feat: support image edit model mapping
...
(cherry picked from commit 1a869d8ad77f262ee27675ec2deaf451b1743eb7)
2025-04-26 15:48:59 +08:00
xyfacai
873ebcf0c7
feat: support /images/edit
...
(cherry picked from commit 1c0a1238787d490f02dd9269b616580a16604180)
2025-04-26 15:44:56 +08:00
IcedTangerine
1727d5664a
Merge pull request #950 from datehoer/main
...
fix: update getAndValidImageRequest function in relay/relay-image.go to support grok-2-image model
2025-04-26 15:34:15 +08:00
CaIon
283d021fa2
refactor: update deepseek beta api
2025-04-25 16:26:16 +08:00
CaIon
c1a0ca0bc7
refactor: update claude media source handling
2025-04-24 15:59:43 +08:00
CaIon
3169bfe362
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
fdd349c909
refactor: update GeminiThinkingConfig initialization
2025-04-18 23:13:28 +08:00
CaIon
ace677b3e7
refactor: remove unsupported 'exclusiveMinimum' field from cleanFunctionParameters
2025-04-18 22:40:05 +08:00
CaIon
6e2e10adf1
refactor: remove unsupported root-level fields from cleanFunctionParameters
2025-04-18 21:38:12 +08:00
CaIon
d378543819
feat: add gemini thinking suffix support #981
2025-04-18 19:36:18 +08:00
CaIon
b364e9e3b1
refactor: simplify model prefix checks and update message role for o-series models
2025-04-17 16:50:52 +08:00
CaIon
50bf4a6615
refactor: remove unused mutex from RelayInfo struct
2025-04-15 23:06:32 +08:00
CaIon
115c85390f
fix: claude parallel function calling
2025-04-15 04:52:33 +08:00
CaIon
effa523a54
feat: support gemini output text and inline images. ( close #866 )
2025-04-15 02:32:51 +08:00
CaIon
44a14ced01
fix: try to fix claude to openai format mcp #966
2025-04-15 01:16:06 +08:00
CaIon
e3b262da1d
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
CaIon
f970a03986
fix: xAI usage
2025-04-11 23:31:32 +08:00
CaIon
74d9bb1a12
feat: enhance Claude to OpenAI request conversion with additional relay info support
2025-04-11 19:13:38 +08:00
CaIon
9e4506ebaf
feat: 完善openai转claude支持
2025-04-11 18:28:50 +08:00
CaIon
577b18a1a1
feat: enhance file handling and logging in the application
2025-04-11 16:23:54 +08:00
CaIon
95f0ed1821
feat: implement parameter cleaning for Gemini functions
2025-04-10 22:35:03 +08:00
CaIon
984f91d111
feat: support zhipu_4v embeddings path
2025-04-10 20:53:51 +08:00
Calcium-Ion
cc219801f8
Merge pull request #959 from Praying/main
...
fix(relay): 优化数据流处理
2025-04-10 17:21:55 +08:00
CaIon
60a9bd45c6
feat: add xAI handling and response processing
2025-04-10 17:20:59 +08:00
quran
5bcfb8507d
fix(relay): 优化数据流处理
...
- 移除了 bufio 的无效使用
- 在 StreamScannerHandler 中增加了初始和最大缓冲区大小的常量设置
- 调整 StreamScannerHandler 中缓冲区大小,避免出现token too long报错
2025-04-10 16:56:16 +08:00
HynoR
cdd58282c2
feat: update adaptor methods and add new image model
2025-04-10 15:08:12 +08:00