feitianbubu
4db3aebb64
feat: jimeng video add images
2025-09-12 22:43:08 +08:00
feitianbubu
e55c84f599
refactor: use common taskSubmitReq
2025-09-12 22:43:03 +08:00
CaIon
c47d9fb5b5
feat(payment): add payment settings configuration and update payment methods handling
2025-09-12 19:29:34 +08:00
Calcium-Ion
9741a83f7c
Merge pull request #1780 from ShibaInu64/feature/support-amazon-nova
...
feat: support amazon nova model
2025-09-12 12:38:44 +08:00
CaIon
83154b88f6
fix(responses): allow pass-through body for specific channel settings. ( close #1762 )
2025-09-11 21:02:12 +08:00
Calcium-Ion
413bb99f7d
Merge pull request #1775 from QuantumNous/alpha
...
Alpha
2025-09-11 18:47:35 +08:00
huanghejian
837f5556d9
feat: improve nova config
2025-09-11 12:31:43 +08:00
huanghejian
b10ed4b424
pref: support amazon nova
2025-09-11 12:17:16 +08:00
huanghejian
2d4ecaaf28
feat: amazon.nova-premier-v1:0
2025-09-11 10:01:54 +08:00
huanghejian
f795148c58
feat: support amazon nova
2025-09-10 20:30:00 +08:00
Xyfacai
451076fa51
fix: dalle log 显示张数 N
2025-09-10 19:53:32 +08:00
Xyfacai
271830fc52
fix: err 如果是 newApiErr 则保留
2025-09-10 15:31:35 +08:00
Xyfacai
3f9adc9992
fix: openai 格式请求 claude 没计费 create cache token
2025-09-10 15:30:23 +08:00
creamlike1024
bbfbce9c67
fix: claude header was not set correctly
2025-09-09 23:18:07 +08:00
Calcium-Ion
b3e67d5ef7
Merge pull request #1692 from yunayj/alpha
...
修改claude system参数为数组,增加通用性
2025-09-08 14:55:48 +08:00
creamlike1024
de73bfff78
feat(relay-claude): mapping stop reason and send text delta on block start type
...
- convert claude stop reason "max_tokens" to openai "length"
- send content_block_start content text delta
2025-09-07 23:03:19 +08:00
Seefs
80cfa0d0df
Merge pull request #1677 from QuantumNous/gemini-2.5-flash-image-preview-billing
...
feat: gemini-2.5-flash-image-preview 文本和图片输出计费
2025-09-07 14:15:24 +08:00
HynoR
23a82b9646
fix: enhance tool usage parsing with additional nil checks and error logging
2025-09-07 07:42:25 +08:00
HynoR
ab5351c270
fix: add error handling for missing built-in tools and validate response in stream handler
2025-09-05 13:58:24 +08:00
Nekohy
1de5216148
fix: allow the negative number for override.go
2025-09-04 23:36:19 +08:00
CaIon
1bbabda081
feat(monitor_setting): implement automatic channel testing configuration
2025-09-03 14:00:52 +08:00
feitianbubu
69e76dae34
feat: use audio token usage if return
2025-09-02 10:58:10 +08:00
t0ng7u
ed71c9fcf3
🎨 style(go): format entire codebase
...
- Apply canonical Go formatting to all .go files
- No functional changes; whitespace/import/struct layout only
- Improves consistency, reduces diff noise, and aligns with standard tooling
2025-08-31 13:08:34 +08:00
creamlike1024
d081dcff46
Merge branch 'pr/fix-kling-text2image' of github.com:feitianbubu/new-api into feitianbubu-pr/fix-kling-text2image
2025-08-29 22:45:59 +08:00
yunayj
fe71af943c
修改claude system参数为数组格式,提升API兼容性
2025-08-29 19:06:01 +08:00
feitianbubu
6db0e77931
feat: add kling video new params support
...
for example: image_tail,negative_prompt,camera_control
2025-08-29 11:51:41 +08:00
CaIon
f7c4eda0f3
Revert "refactor: replace DeepCopy with Copy for request handling consistency"
...
This reverts commit c21219fcff .
2025-08-28 15:11:55 +08:00
CaIon
c21219fcff
refactor: replace DeepCopy with Copy for request handling consistency
2025-08-28 14:57:47 +08:00
CaIon
906f797be5
refactor: replace json.Marshal with common.Marshal for consistency and error handling
2025-08-28 13:51:07 +08:00
creamlike1024
3963863eb0
fix(relay): initialize TaskRelayInfo
2025-08-27 23:26:51 +08:00
creamlike1024
13d14dc8a8
Merge branch 'alpha' of github.com:iszcz/new-api into iszcz-alpha
2025-08-27 22:26:15 +08:00
creamlike1024
a45513a7a6
feat: gemini-2.5-flash-image-preview 文本和图片输出计费
2025-08-27 21:30:52 +08:00
CaIon
3401abe4d2
fix(relay-gemini): update media handling in candidate content processing
2025-08-27 12:14:50 +08:00
CaIon
8004b4ff5f
Merge remote-tracking branch 'origin/alpha' into alpha
2025-08-26 20:38:32 +08:00
Calcium-Ion
6e62b76105
Merge pull request #1652 from HynoR/feat/ds3.1
...
feat: adapt Volcengine adaptor for deepseek3.1 with thinking mode
2025-08-26 20:35:29 +08:00
CaIon
67719dc087
fix: update web search handling and request structure in adaptor and openai_request
2025-08-26 18:15:18 +08:00
CaIon
1b8bcfb000
fix: update error types for upstream errors and JSON marshal failure
2025-08-26 16:26:56 +08:00
CaIon
b0f86bd82e
fix: update PromptTokens assignment logic in relay_responses
2025-08-26 14:21:10 +08:00
CaIon
3e5bc637de
fix: Invalid type for 'input[x].summary': expected an array of objects, but got null instead
2025-08-26 13:17:31 +08:00
CaIon
f249cf9acc
fix: ensure reasoning is not nil before setting effort in OpenAI responses
2025-08-25 22:46:45 +08:00
iszcz
d904f9b486
task_relay_info
2025-08-25 18:01:10 +08:00
CaIon
781a708173
feat: support qwen-image-edit
2025-08-25 14:33:12 +08:00
HynoR
c94a74c398
feat: adapt Volcengine adaptor for deepseek3.1 model with thinking suffix
2025-08-25 11:16:43 +08:00
CaIon
3d7a05bdac
feat: update ali image response handling
2025-08-24 22:50:45 +08:00
CaIon
488f6a2e71
feat: enhance image request handling and add async support
2025-08-24 21:52:56 +08:00
Nekohy
2d1512096a
feats:add custom headers override
2025-08-24 01:02:23 +08:00
Calcium-Ion
fe53424ed8
Merge pull request #1611 from nekohy/feats-zhipu_4v-anthropic
...
Feats:Standardize ClaudeHandler, add Zhipu_4v Anthropic native channel support
2025-08-23 13:48:18 +08:00
Calcium-Ion
12b9f0f560
Merge pull request #1635 from feitianbubu/pr/fix-task-info-channel-type
...
Pr/fix task info channel type
2025-08-23 13:46:52 +08:00
CaIon
13301d8544
fix: enhance error handling for invalid request types in relay handlers
2025-08-23 13:34:56 +08:00
CaIon
060ce89286
refactor: rename relay-text.go to compatible_handler.go for clarity
2025-08-23 13:13:57 +08:00