CaIon
2e41362f2e
fix: update budget calculation logic in relay-gemini to use clamping function
2025-08-06 16:25:48 +08:00
CaIon
6960a06322
feat: enhance ThinkingAdaptor with effort-based budget clamping and extra body handling
2025-08-06 16:20:38 +08:00
CaIon
4f6d16e365
feat: add reasoning support for Openrouter requests with "-thinking" suffix
2025-08-06 12:50:26 +08:00
Calcium-Ion
f1faa08c1e
Merge pull request #1508 from wzxjohn/feature/aws_new_apikey_support
...
feat: support aws bedrock apikey
2025-08-06 12:04:28 +08:00
Calcium-Ion
e7c657ef87
Merge pull request #1511 from neotf/feat-05
...
feat: add support for claude-opus-4-1 model and update ratios
2025-08-06 12:03:33 +08:00
neotf
c9bcdc89f0
feat: add support for claude-opus-4-1 model and update ratios
2025-08-06 00:58:46 +08:00
creamlike1024
02fccf0330
fix: responses 流 cache token 未计费
2025-08-05 23:08:08 +08:00
wzxjohn
d31027d5c7
feat: support aws bedrock apikey
2025-08-05 23:01:30 +08:00
creamlike1024
2d226a813e
fix: responses cache token 未计费
2025-08-05 22:56:27 +08:00
CaIon
f3a961f071
fix: reorder request URL handling for relay formats in Adaptor
2025-08-05 20:40:00 +08:00
Xyfacai
bb08de0b11
fix: 修复gemini2openai 没有返回 usage
2025-08-04 09:06:57 +08:00
CaIon
1f9134cd6b
feat: add support for multi-key channels in RelayInfo and access token caching
2025-08-02 22:12:15 +08:00
CaIon
f0b024eb77
feat: enhance ConvertGeminiRequest to set default role and handle YouTube video MIME type
2025-08-02 12:53:58 +08:00
creamlike1024
502c5dde9c
Merge remote-tracking branch 'origin/alpha' into ConvertGeminiRequest
2025-08-01 22:42:48 +08:00
creamlike1024
1968cff5bd
chore: remove debug log
2025-08-01 22:29:19 +08:00
creamlike1024
689dbfe71a
feat: convert gemini format to openai chat completions
2025-08-01 22:23:35 +08:00
CaIon
2578c39c7d
refactor: simplify streamResponseGeminiChat2OpenAI by removing hasImage return value and optimizing response text handling
2025-08-01 17:58:21 +08:00
CaIon
87c16db2d7
fix: update JSONEditor to default to manual mode for invalid JSON and add error message for invalid data
2025-08-01 17:21:25 +08:00
Calcium-Ion
624aad15bf
Merge pull request #1481 from seefs001/revert-1445-feature/claude-code
...
Revert "feat: add Claude Code channel support with OAuth integration"
2025-08-01 17:05:22 +08:00
CaIon
de23f66785
fix: handle case where no response is received from Gemini API
2025-08-01 17:04:16 +08:00
Seefs
3b34afa8c9
Revert "feat: add Claude Code channel support with OAuth integration"
2025-07-31 22:08:16 +08:00
Calcium-Ion
7eccf42513
Merge pull request #1445 from seefs001/feature/claude-code
...
feat: add Claude Code channel support with OAuth integration
2025-07-31 21:28:23 +08:00
Seefs
c45676e3ca
Merge branch 'alpha' into feature/claude-code
...
# Conflicts:
# web/src/components/table/channels/modals/EditChannelModal.jsx
2025-07-31 21:19:43 +08:00
CaIon
563d056ff7
refactor: update error handling to support dynamic error types
2025-07-31 21:16:01 +08:00
CaIon
40848f28d4
fix: correct request mode assignment logic in adaptor
2025-07-30 23:32:20 +08:00
creamlike1024
1bb8a314cb
Merge branch 'fix/gemini-native-sse' of github.com:RedwindA/new-api into RedwindA-fix/gemini-native-sse
2025-07-30 20:34:12 +08:00
CaIon
2db71673a5
fix: auto ban
2025-07-30 18:39:19 +08:00
CaIon
a1caf37f5b
fix: auto ban
2025-07-29 15:20:08 +08:00
Seefs
a4afa3a11f
chore: claude code automatic disable
2025-07-26 18:40:18 +08:00
Seefs
1389cc7acd
feat: add claude code channel
2025-07-26 18:06:46 +08:00
CaIon
360012bed2
feat: support claude convert to gemini
2025-07-26 13:31:33 +08:00
CaIon
2cb7b9ae62
fix: improve error messaging and JSON schema handling in distributor and relay components
2025-07-26 12:11:20 +08:00
feitianbubu
4378e0f96d
feat: add vidu video channel
2025-07-24 10:14:25 +08:00
CaIon
6ddeab2f2f
fix(adaptor): enhance response handling and error logging for Claude format
2025-07-23 20:59:56 +08:00
CaIon
c73b5886b9
feat: support ollama claude format
2025-07-23 20:01:03 +08:00
CaIon
f2e10286c4
fix(adaptor): update relay mode handling #1419
2025-07-23 19:28:58 +08:00
CaIon
ec0eb57db0
fix(adaptor): implement request conversion methods for Claude and Image. ( close #1419 )
2025-07-23 19:09:20 +08:00
CaIon
096aad48db
Merge remote-tracking branch 'origin/alpha' into alpha
2025-07-22 12:06:28 +08:00
CaIon
c5ec332ab3
fix: add Think field to OllamaRequest and support extra parameters in GeneralOpenAIRequest. ( close #1125
...
)
2025-07-22 12:06:21 +08:00
t0ng7u
d2ef70f6b0
✨ feat(kling): send both model_name and model fields for upstream compatibility
...
Some upstream Kling deployments still expect the legacy `model` key
instead of `model_name`.
This change adds the `model` field to `requestPayload` and populates it
with the same value as `model_name`, ensuring the generated JSON works
with both old and new versions.
Changes:
• Added `Model string "json:\"model,omitempty\""` to `requestPayload`
• Set `Model` alongside `ModelName` in `convertToRequestPayload`
• Updated comments to clarify compatibility purpose
Result:
Kling task requests now contain both `model_name` and `model`, removing
integration issues with upstreams that only recognize one of the keys.
2025-07-22 01:21:56 +08:00
feitianbubu
73d9021e95
feat: channel kling support New API
2025-07-21 21:38:53 +08:00
feitianbubu
9c3a22964b
fix: ali embedding support base64
2025-07-20 12:05:20 +08:00
Xyfacai
dfc826a388
fix(response): tools 需要处理的参数很少 使用 map
2025-07-20 11:21:57 +08:00
RedwindA
20c132bf13
禁用原生Gemini模式中的ping保活
2025-07-18 23:39:01 +08:00
RedwindA
4d9b5bcf48
增加 DisablePing 字段以控制是否发送自定义 Ping
2025-07-18 23:38:35 +08:00
Calcium-Ion
066d4a7906
Merge pull request #1363 from feitianbubu/pr/add-jimeng-image
...
feat: 增加即梦生图功能
2025-07-18 20:45:49 +08:00
feitianbubu
a3b5d14928
feat: add jimeng image -- fix alpha
2025-07-18 11:47:27 +08:00
Calcium-Ion
a1609f36c7
Merge pull request #1384 from QuantumNous/RequestOpenAI2ClaudeMessage
...
feat: 改进 RequestOpenAI2ClaudeMessage 和添加 claude web search 计费
2025-07-17 19:15:54 +08:00
creamlike1024
e351642db9
feat: claude web search tool 计费
2025-07-15 18:57:22 +08:00
creamlike1024
aeca676d55
feat: RequestOpenAI2ClaudeMessage add more parms map
2025-07-15 12:38:05 +08:00