somnifex
9d952e0d78
fix: 修复ollamaChatHandler中的FinishReason字段赋值逻辑
2025-09-15 23:43:39 +08:00
somnifex
f7d393fc72
refactor: 简化请求转换函数和流处理逻辑
2025-09-15 23:41:09 +08:00
somnifex
176fd6eda1
fix: 优化ollamaStreamHandler中的停止和最终使用响应逻辑
2025-09-15 23:23:53 +08:00
somnifex
7d6ba52d85
refactor: 更新请求转换逻辑,优化工具调用解析
2025-09-15 23:15:46 +08:00
somnifex
fc38c480a1
fix: 优化ollamaChatStreamChunk结构体字段格式
2025-09-15 23:09:10 +08:00
somnifex
51c4cd9ab5
feat: 重构ollama渠道请求
2025-09-15 23:01:14 +08:00
Xyfacai
63f94e7669
fix: 非openai 渠道使用 SystemPrompt 设置会panic
2025-09-15 19:38:31 +08:00
feitianbubu
f3e220b196
feat: jimeng video 3.0 req_key convert
2025-09-15 15:54:13 +08:00
feitianbubu
33bf267ce8
feat: 支持即梦视频3.0,新增10s(frames=241)支持
2025-09-15 15:10:39 +08:00
DD
cab562276d
Merge branch 'main' of github.com:danding5/new-api
...
# Conflicts:
# relay/relay_adaptor.go
2025-09-15 14:31:06 +08:00
creamlike1024
0ee5670be6
Merge branch 'alpha' into imageratio-and-audioratio-edit
2025-09-15 14:12:24 +08:00
Xyfacai
9790e2c4f6
fix: gemini support webp file
2025-09-15 01:01:48 +08:00
Seefs
da6f24a3d4
fix veo3 adapter
2025-09-13 16:26:14 +08:00
CaIon
28ed42130c
fix: update references from setting to system_setting for ServerAddress
2025-09-13 15:27:41 +08:00
Seefs
6628fd9181
Merge branch 'main' into alpha
2025-09-13 13:14:34 +08:00
Seefs
6a34d365ec
Merge branch 'alpha' into feat-vertex-veo
2025-09-13 13:10:39 +08:00
CaIon
406a3e4dca
Merge remote-tracking branch 'origin/main'
2025-09-13 12:54:49 +08:00
CaIon
c1d7ecdeec
fix(adaptor): correct VertexKeyType condition in SetupRequestHeader
2025-09-13 12:53:41 +08:00
CaIon
6451158680
Revert "feat: gemini-2.5-flash-image-preview 文本和图片输出计费"
...
This reverts commit e732c58426 .
2025-09-13 12:53:28 +08:00
feitianbubu
f14b06ec3a
feat: jimeng video add images
2025-09-12 22:43:08 +08:00
feitianbubu
6ed775be8f
refactor: use common taskSubmitReq
2025-09-12 22:43:03 +08:00
CaIon
d8410d2f11
feat(payment): add payment settings configuration and update payment methods handling
2025-09-12 19:29:34 +08:00
Calcium-Ion
5d76e16324
Merge pull request #1780 from ShibaInu64/feature/support-amazon-nova
...
feat: support amazon nova model
2025-09-12 12:38:44 +08:00
CaIon
93adcd57d7
fix(responses): allow pass-through body for specific channel settings. ( close #1762 )
2025-09-11 21:02:12 +08:00
Calcium-Ion
e813da59cc
Merge pull request #1775 from QuantumNous/alpha
...
Alpha
2025-09-11 18:47:35 +08:00
huanghejian
70c27bc662
feat: improve nova config
2025-09-11 12:31:43 +08:00
huanghejian
e3bc40f11b
pref: support amazon nova
2025-09-11 12:17:16 +08:00
huanghejian
684caa3673
feat: amazon.nova-premier-v1:0
2025-09-11 10:01:54 +08:00
huanghejian
47aaa695b2
feat: support amazon nova
2025-09-10 20:30:00 +08:00
Xyfacai
cda73a2ec5
fix: dalle log 显示张数 N
2025-09-10 19:53:32 +08:00
DD
a12ed5709e
merge
2025-09-10 19:11:58 +08:00
DD
42d29756a0
Merge branches 'main' and 'main' of github.com:danding5/new-api
...
# Conflicts:
# common/api_type.go
# constant/api_type.go
# constant/channel.go
# relay/relay_adaptor.go
# web/src/constants/channel.constants.js
2025-09-10 18:33:42 +08:00
Xyfacai
27a0a447d0
fix: err 如果是 newApiErr 则保留
2025-09-10 15:31:35 +08:00
Xyfacai
fcdfd027cd
fix: openai 格式请求 claude 没计费 create cache token
2025-09-10 15:30:23 +08:00
creamlike1024
c40a4f5444
fix: claude header was not set correctly
2025-09-09 23:18:07 +08:00
DD
511489db09
add submodel.ai
2025-09-08 16:21:21 +08:00
Calcium-Ion
a616aa3c89
Merge pull request #1692 from yunayj/alpha
...
修改claude system参数为数组,增加通用性
2025-09-08 14:55:48 +08:00
creamlike1024
b29efbde52
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
b7527eb80e
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
a77a88308a
fix: enhance tool usage parsing with additional nil checks and error logging
2025-09-07 07:42:25 +08:00
HynoR
c0187d50ff
fix: add error handling for missing built-in tools and validate response in stream handler
2025-09-05 13:58:24 +08:00
Nekohy
e61c1dc738
fix: allow the negative number for override.go
2025-09-04 23:36:19 +08:00
CaIon
56fc3441da
feat(monitor_setting): implement automatic channel testing configuration
2025-09-03 14:00:52 +08:00
feitianbubu
f7ae3621f4
feat: use audio token usage if return
2025-09-02 10:58:10 +08:00
t0ng7u
cdef6da9e9
🎨 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
da5aace109
feat: 图像倍率,音频倍率和音频补全倍率配置
2025-08-30 23:28:09 +08:00
creamlike1024
9c798dcd16
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
af94e11c7d
修改claude system参数为数组格式,提升API兼容性
2025-08-29 19:06:01 +08:00
feitianbubu
64e23f02f7
feat: add kling video new params support
...
for example: image_tail,negative_prompt,camera_control
2025-08-29 11:51:41 +08:00
CaIon
b3a99a2625
Revert "refactor: replace DeepCopy with Copy for request handling consistency"
...
This reverts commit 872f7a9648 .
2025-08-28 15:11:55 +08:00