somnifex
05241aea92
fix: 修复ollamaChatHandler中ReasoningContent字段的赋值逻辑
2025-09-16 08:54:34 +08:00
somnifex
414b959e65
fix: 添加对Thinking字段的处理逻辑,确保推理内容正确传递
2025-09-16 08:51:29 +08:00
somnifex
b80811a412
fix: 修复图像URL处理逻辑,确保正确生成base64数据
2025-09-16 08:13:28 +08:00
somnifex
f57c539a1f
fix: 修复ollamaChatHandler中的FinishReason字段赋值逻辑
2025-09-15 23:43:39 +08:00
somnifex
a1f79761cf
refactor: 简化请求转换函数和流处理逻辑
2025-09-15 23:41:09 +08:00
somnifex
a9354df549
fix: 优化ollamaStreamHandler中的停止和最终使用响应逻辑
2025-09-15 23:23:53 +08:00
somnifex
503a2669d5
refactor: 更新请求转换逻辑,优化工具调用解析
2025-09-15 23:15:46 +08:00
somnifex
cdf0c9dae4
fix: 优化ollamaChatStreamChunk结构体字段格式
2025-09-15 23:09:10 +08:00
somnifex
767d46e829
feat: 重构ollama渠道请求
2025-09-15 23:01:14 +08:00
Xyfacai
c176e713f7
fix: 非openai 渠道使用 SystemPrompt 设置会panic
2025-09-15 19:38:31 +08:00
feitianbubu
cf446438ed
feat: jimeng video 3.0 req_key convert
2025-09-15 15:54:13 +08:00
feitianbubu
6b028bfedb
feat: 支持即梦视频3.0,新增10s(frames=241)支持
2025-09-15 15:10:39 +08:00
DD
71d41d6eaa
Merge branch 'main' of github.com:danding5/new-api
...
# Conflicts:
# relay/relay_adaptor.go
2025-09-15 14:31:06 +08:00
creamlike1024
d21886b9fb
Merge branch 'alpha' into imageratio-and-audioratio-edit
2025-09-15 14:12:24 +08:00
Xyfacai
b0bb2fe5a9
fix: gemini support webp file
2025-09-15 01:01:48 +08:00
Seefs
30763deb96
fix veo3 adapter
2025-09-13 16:26:14 +08:00
CaIon
9e17df3f74
fix: update references from setting to system_setting for ServerAddress
2025-09-13 15:27:41 +08:00
Seefs
82f0860a96
Merge branch 'main' into alpha
2025-09-13 13:14:34 +08:00
Seefs
8d32b08d44
Merge branch 'alpha' into feat-vertex-veo
2025-09-13 13:10:39 +08:00
CaIon
287b3ab2c9
Merge remote-tracking branch 'origin/main'
2025-09-13 12:54:49 +08:00
CaIon
15d845cd01
fix(adaptor): correct VertexKeyType condition in SetupRequestHeader
2025-09-13 12:53:41 +08:00
CaIon
1a8d781721
Revert "feat: gemini-2.5-flash-image-preview 文本和图片输出计费"
...
This reverts commit a45513a7a6 .
2025-09-13 12:53:28 +08:00
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
DD
68d30225e5
merge
2025-09-10 19:11:58 +08:00
DD
2fb5fc231d
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
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
DD
cfbc2df3f8
add submodel.ai
2025-09-08 16:21:21 +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
2875dbba10
feat: 图像倍率,音频倍率和音频补全倍率配置
2025-08-30 23:28:09 +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