CaIon
29d48e262e
feat: refactor request body handling to use BodyStorage for improved efficiency
2026-02-12 01:51:27 +08:00
funkpopo
0aa3dcb56c
feat(xai): 为xAI渠道添加/v1/responses支持 ( #2897 )
...
* feat(xai): 为xAI渠道添加/v1/responses支持
* Add video generation model to constants
* fix: 修正先前更改中对于grok-3-mini的思考预算和"-search"设计
2026-02-12 00:42:39 +08:00
CaIon
92aca9771f
feat: refactor extra_body handling for improved configuration parsing
2026-02-11 22:15:22 +08:00
Calcium-Ion
6c28de8965
Merge pull request #2889 from seefs001/feature/messages2responses
...
feat: /v1/messages -> /v1/responses
2026-02-08 00:25:27 +08:00
Calcium-Ion
c494c26236
Merge pull request #2887 from seefs001/fix/claude
...
fix: 补全 streaming message_delta 事件缺失的 input_tokens 和 cache 相关字段
2026-02-08 00:18:04 +08:00
Calcium-Ion
47cdac3e64
Merge pull request #2883 from seefs001/fix/claude-relay-info-input-token
...
fix: 使用openai兼容接口调用部分渠道在最终端点为claude原生端点下还是走了openai扣减input_token的逻辑
2026-02-08 00:17:50 +08:00
Seefs
3d0c75f42c
Merge branch 'feature/messages2responses' into upstream-main
...
# Conflicts:
# service/openaicompat/chat_to_responses.go
2026-02-08 00:16:35 +08:00
Calcium-Ion
e6f36e7999
Merge pull request #2864 from seefs001/fix/thining-summary
...
fix: add paragraph breaks between reasoning summary chunks
2026-02-08 00:15:32 +08:00
Calcium-Ion
e6b43f4279
Merge pull request #2852 from seefs001/fix/codex-tips
...
feat: add Codex channel disclaimer (i18n, OpenAI terms)
2026-02-08 00:07:41 +08:00
Seefs
81a94c3027
fix: patch message_delta usage via gjson/sjson and skip on passthrough
2026-02-07 19:13:58 +08:00
Thomas
63f246d403
fix: 补全 streaming message_delta 事件缺失的 input_tokens 和 cache 相关字段 ( #2881 )
...
当上游为 AWS Bedrock 时,message_delta 的 usage 可能缺少 input_tokens、
cache_creation_input_tokens、cache_read_input_tokens 等字段,导致与原生
Anthropic 格式不一致。从 message_start 积累的 claudeInfo 中补全这些字段后
重新序列化,确保客户端收到一致的 usage 格式。
2026-02-07 18:17:22 +08:00
Seefs
a972722367
fix: 使用openai兼容接口调用部分渠道在最终端点为claude原生端点下还是走了openai扣减input_token的逻辑
2026-02-07 14:21:19 +08:00
Seefs
8f52072f53
feat: /v1/messages -> /v1/responses
2026-02-06 15:22:32 +08:00
Seefs
517b6ba50d
feat: gpt-5.3-codex
2026-02-06 14:47:23 +08:00
Seefs
d5f0ab01df
fix: add paragraph breaks between reasoning summary chunks in chat2responses stream
2026-02-06 14:46:29 +08:00
Papersnake
e194b747c3
feat: support adaptive thinking
2026-02-06 11:01:23 +08:00
Papersnake
27825ec377
fix: aws claude
2026-02-06 09:51:15 +08:00
Papersnake
7ca072b1b0
feat: add claude-opus-4-6
2026-02-06 09:12:45 +08:00
CaIon
0e095d4ad8
feat(api): add 'cookie' to passthroughSkipHeaderNamesLower
2026-02-05 22:16:35 +08:00
CaIon
330e1e6395
remove: drop support for claude-2 and claude-1 series models
...
- Remove claude-instant-1.2, claude-2, claude-2.0, claude-2.1 from model lists
- Remove /v1/complete endpoint support (legacy completion API)
- Remove RequestModeCompletion and related code paths
- Simplify handler functions by removing requestMode parameter
- Update all channel adaptors that referenced claude handlers
2026-02-05 17:20:46 +08:00
Seefs
99928bcfde
fix: charge local input tokens when Gemini returns empty response
2026-02-05 15:57:17 +08:00
dahetaoa
b2d79ce4a7
fix(relay/codex): optimize headers and ensure instructions presence
2026-02-04 21:43:33 +00:00
Calcium-Ion
c5efbe47bf
Merge pull request #2840 from seefs001/feature/header-regex-override
...
feat: 支持基于Go Regex规则和全量的请求体透传
2026-02-05 01:56:27 +08:00
Seefs
5ff96de421
feat: add header passthrough
2026-02-05 01:43:49 +08:00
Seefs
a0574ae516
fix reasoning_effort log
2026-02-05 00:31:52 +08:00
Seefs
25f88050d3
fix: map Responses reasoning stream to chat completion deltas
...
fix: default summary = detailed
fix ReasoningContent
fix ReasoningContent
fix ReasoningContent
fix ReasoningContent
Revert "fix ReasoningContent"
This reverts commit 45a88f78b91ce2376bca68745d19374bb9e95e88.
fix ReasoningContent
fix ReasoningContent
2026-02-05 00:12:16 +08:00
CaIon
ffef331192
refactor(gemini): remove GeminiVisionMaxImageNum constant and related image count logic
2026-02-04 19:10:06 +08:00
CaIon
9ef9e78821
feat(file): unify file handling with a new FileSource abstraction for URL and base64 data
2026-02-04 18:23:17 +08:00
thirking
4108c404ee
fix: remove unnecessary unescapeMapOrSlice call in Gemini relay
...
The JSON serialization/deserialization already handles escape characters
correctly, so the unescapeMapOrSlice function is redundant.
2026-02-03 11:47:45 +08:00
Seefs
112dd80fa1
fix: vertex maas api addr ( #2810 )
...
* fix: vertex maas api addr
2026-02-03 00:09:45 +08:00
Seefs
4f786a3591
Merge pull request #2811 from seefs001/fix/openrouter-claude-cache-usage
...
fix: openrouter claude cache usage
2026-02-03 00:03:19 +08:00
Calcium-Ion
9cf884c527
Merge pull request #2803 from seefs001/feature/qwen-responses
...
feat: /v1/responses qwen3 max && perplexity
2026-02-02 21:22:25 +08:00
Calcium-Ion
0ef4080ea8
fix: claude panic ( #2804 )
2026-02-02 21:22:07 +08:00
Seefs
66fc439542
Merge pull request #2805 from lanfunoe/fix/make-channel-Host-override-take-effect
...
fix: make channel Host override take effect
2026-02-02 21:20:31 +08:00
Seefs
06795ddf39
fix: claude panic
2026-02-02 15:03:30 +08:00
lanfunoe
5e3dbf2177
fix: make channel Host override take effect
2026-02-02 14:59:36 +08:00
Seefs
b587796929
feat: /v1/responses perplexity
2026-02-02 14:48:45 +08:00
Seefs
5b3c8e8413
feat: /v1/responses qwen3 max
2026-02-02 14:41:27 +08:00
Seefs
f244a9e661
fix: channel affinity ( #2799 )
...
* fix: channel affinity log styles
* fix: Issue with incorrect data storage when switching key sources
* feat: support not retrying after a single rule configuration fails
* fix: render channel affinity tooltip as multiline content
* feat: channel affinity cache hit
* fix: prevent ChannelAffinityUsageCacheModal infinite loading and hide data before fetch
* chore: format backend with gofmt and frontend with prettier/eslint autofix
2026-02-02 14:37:31 +08:00
Seefs
aa498d5d40
Merge pull request #2798 from RedwindA/feat/GeminiCacheBilling
...
feat(gemini): support cached token billing
2026-02-02 13:21:10 +08:00
Seefs
e088e459d3
Merge pull request #2756 from feitianbubu/pr/bae1c6025ed4c65bf72572ff8684dd7ef068e576
...
feat: doubao add first and last image to video
2026-02-02 13:15:47 +08:00
RedwindA
3985d10ae1
feat(gemini): support cached token billing
2026-02-01 22:50:47 +08:00
Calcium-Ion
3be7801d00
Merge pull request #2765 from seefs001/fix/2763
...
fix: remove disable_parallel_tool_use if tool_choice=none
2026-01-29 23:24:11 +08:00
RedwindA
9899073ecb
feat(gemini): map OpenAI stop to Gemini stopSequences
2026-01-29 21:30:27 +08:00
Seefs
b063b25998
fix: disable_parallel_tool_use parameter should be removed for tool_choice=none:
2026-01-28 13:31:14 +08:00
feitianbubu
0823c16f97
feat: doubao add first and last image to video
2026-01-27 17:33:00 +08:00
Seefs
cf114ca7d6
feat: openai response /v1/response/compact ( #2644 )
...
* feat: openai response /v1/response/compact
* feat: /v1/response/compact bill
* feat: /v1/response/compact
* feat: /v1/responses/compact -> codex channel
* feat: /v1/responses/compact -> codex channel
* feat: /v1/responses/compact -> codex channel
* feat: codex channel default models
* feat: compact model price
* feat: /v1/responses/comapct test
2026-01-26 20:20:16 +08:00
Seefs
d6d3d05777
Merge pull request #2735 from seefs001/feature/header-throughpass
...
feat: header passthrough
2026-01-26 19:56:51 +08:00
Calcium-Ion
57c65c2782
Merge pull request #2742 from seefs001/fix/pr-2540
...
feat(gemini): 支持 tool_choice 参数转换,优化多个渠道错误处理
2026-01-26 15:12:09 +08:00
Seefs
7eaa80583b
Revert "feat: xai refusal reason"
...
This reverts commit 2548eaf8d3 .
2026-01-25 16:38:58 +08:00