yunayj
af94e11c7d
修改claude system参数为数组格式,提升API兼容性
2025-08-29 19:06:01 +08:00
CaIon
fbe7f35a25
feat(token_counter): add mime type extraction for base64 encoded data
v0.9.0-alpha.16
2025-08-28 17:30:53 +08:00
CaIon
8cd0150a75
fix(channel): ensure thread-safe polling with channel-specific lock
2025-08-28 16:34:23 +08:00
Xyfacai
839aa401f0
fix: 修复openai error 错误被覆盖
2025-08-28 16:08:51 +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
CaIon
872f7a9648
refactor: replace DeepCopy with Copy for request handling consistency
2025-08-28 14:57:47 +08:00
CaIon
b0c703935f
fix(pre_consume_quota): improve error messages for insufficient user quota
2025-08-28 13:57:16 +08:00
CaIon
621d2b0b6a
refactor: replace json.Marshal with common.Marshal for consistency and error handling
2025-08-28 13:51:07 +08:00
creamlike1024
e69520b7fb
Merge branch 'iszcz-alpha' into alpha
2025-08-27 23:27:31 +08:00
creamlike1024
4b968d03a1
fix(relay): initialize TaskRelayInfo
2025-08-27 23:26:51 +08:00
creamlike1024
edc6679140
Merge branch 'alpha' of github.com:iszcz/new-api into iszcz-alpha
2025-08-27 22:26:15 +08:00
CaIon
c5a1cbe755
fix(token_counter): update token counting logic to handle media token conditions
2025-08-27 17:11:33 +08:00
CaIon
35218609d9
fix(image): add error handling for empty base64 string in image decoding
2025-08-27 16:38:32 +08:00
CaIon
7ddf3a112c
fix(relay-gemini): update media handling in candidate content processing
v0.9.0-alpha.15
2025-08-27 12:14:50 +08:00
t0ng7u
034094c2d2
Merge remote-tracking branch 'origin/alpha' into alpha
2025-08-27 11:59:41 +08:00
t0ng7u
65ed6d9d5b
✨ feat(playground): add search functionality to group selector
...
- Add `filter={selectFilter}` to enable search filtering in group Select component
- Add `autoClearSearchValue={false}` to preserve search input value
- Maintain consistency with existing model selector search behavior
- Improve user experience by allowing quick filtering of group options
Files modified:
- web/src/components/playground/SettingsPanel.jsx
2025-08-27 11:57:12 +08:00
t0ng7u
4524f90ebd
🐛 fix(playground): set Chat error text color to white to match Semi UI
...
- Update error-state rendering to use white text in the playground chat
- Remove Typography.Text `type="danger"` and the red background for consistency with official behavior
- Preserve layout and other message states (loading/success/system) unchanged
- No linter issues introduced
Files touched:
- web/src/components/playground/MessageContent.jsx
2025-08-27 11:50:43 +08:00
creamlike1024
33dd326007
Merge branch 'AAEE86-alpha' into alpha
2025-08-27 01:30:20 +08:00
creamlike1024
95b487c51e
feat: add disable cache middleware
2025-08-27 01:30:01 +08:00
creamlike1024
fcb03392d1
Merge branch 'alpha' of github.com:AAEE86/new-api into AAEE86-alpha
2025-08-27 01:28:37 +08:00
CaIon
64a6168092
fix(model_ratio): update return value logic for gemini-2.5-flash-lite
v0.9.0-alpha.14
2025-08-26 23:01:00 +08:00
CaIon
6a6edaa7cf
Merge remote-tracking branch 'origin/alpha' into alpha
2025-08-26 20:38:32 +08:00
Calcium-Ion
a95d70cf93
Merge pull request #1579 from wzxjohn/hotfix/openai_claude_convert
...
fix(adaptor): missing first text delta while convert OpenAI to Claude
2025-08-26 20:37:54 +08:00
Calcium-Ion
3e01dc81ec
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
e087c9fe9e
fix: update web search handling and request structure in adaptor and openai_request
2025-08-26 18:15:18 +08:00
CaIon
33d601db82
fix: update error types for upstream errors and JSON marshal failure
v0.9.0-alpha.13
2025-08-26 16:26:56 +08:00
CaIon
eef73e3699
fix: update PromptTokens assignment logic in relay_responses
v0.9.0-alpha.12
2025-08-26 14:21:10 +08:00
CaIon
1cc07546cb
feat: replace pcopy with jinzhu/copier for deep copy functionality
2025-08-26 13:40:41 +08:00
CaIon
e23f01f8d5
fix: Invalid type for 'input[x].summary': expected an array of objects, but got null instead
v0.9.0-alpha.11
2025-08-26 13:17:31 +08:00
CaIon
a3c2b28d6a
fix: ensure reasoning is not nil before setting effort in OpenAI responses
v0.9.0-alpha.10
2025-08-25 22:46:45 +08:00
iszcz
289ed24899
task_relay_info
2025-08-25 18:01:10 +08:00
IcedTangerine
98db907680
Merge pull request #1549 from QuantumNous/update-openai-websearch-price
...
feat: update openai websearch price
2025-08-25 16:52:57 +08:00
AAEE86
b1cc9050ff
fix: 添加接口速率限制中间件,优化验证码输入框交互体验
2025-08-25 15:20:04 +08:00
AAEE86
dc4f5750af
feat(channel): 添加2FA验证后查看渠道密钥功能
...
- 新增接口通过2FA验证后获取渠道密钥
- 统一实现2FA验证码和备用码的验证逻辑
- 记录用户查看密钥的操作日志
- 编辑渠道弹窗新增查看密钥按钮,触发2FA验证模态框
- 使用TwoFactorAuthModal进行验证码输入及验证
- 验证成功后弹出渠道密钥展示窗口
- 对渠道编辑模态框的状态进行了统一重置优化
- 添加相关国际化文案支持密钥查看功能
2025-08-25 14:45:48 +08:00
CaIon
d374a22b70
feat: support qwen-image-edit
2025-08-25 14:33:12 +08:00
CaIon
595ed6b40e
Merge remote-tracking branch 'origin/feat/dalle-extra' into alpha
...
# Conflicts:
# dto/dalle.go
2025-08-25 14:20:54 +08:00
CaIon
c9f5b1de1a
fix: improve model ratio handling for reserved models in getHardcodedCompletionModelRatio
2025-08-25 11:59:55 +08:00
CaIon
522f2d920b
Merge remote-tracking branch 'origin/alpha' into alpha
2025-08-25 11:52:57 +08:00
CaIon
bef59929db
fix: update model ratio handling for GPT versions
2025-08-25 11:52:45 +08:00
t0ng7u
b27b9a1098
🍎 chore(EditChannelModal.jsx): Format code file
v0.9.0-alpha.9
2025-08-25 11:32:28 +08:00
t0ng7u
70de3819e8
🧹 chore: remove useless i18n file
2025-08-25 11:29:13 +08:00
同語
af18dec46b
🤓 feat: When adding or editing channels, add the function of clicking the added model to copy its name
...
Merge pull request #1648 from AAEE86/alpha
2025-08-25 11:26:45 +08:00
CaIon
43efc2161a
feat: add SaveWithoutKey method to Channel and update status saving logic
2025-08-25 11:20:16 +08:00
CaIon
caaa988c87
fix: correct logic for handling nil OpenAI error codes. ( close #1609 )
2025-08-25 11:19:32 +08:00
HynoR
ee6dd9179b
feat: adapt Volcengine adaptor for deepseek3.1 model with thinking suffix
2025-08-25 11:16:43 +08:00
Calcium-Ion
f96a733430
Merge pull request #1647 from aotsukiqx/main
...
fix: update channel.go fix #1641
2025-08-25 10:25:06 +08:00
CaIon
de23ccd234
feat: update ali image response handling
2025-08-24 22:50:45 +08:00
AAEE86
da516af837
feat: 在新增&编辑渠道时添加点击模型复制名称功能
...
(cherry picked from commit c4935f392f )
2025-08-24 22:50:29 +08:00
CaIon
7fbf9c4851
feat: enhance image request handling and add async support
v0.9.0-alpha.8
2025-08-24 21:52:56 +08:00
t0ng7u
808f5c481e
💄 style(topup): align container width with PersonalSetting (w-full max-7xl)
...
- Set TopUp page outer wrapper to "w-full max-w-7xl mx-auto px-2"
to match PersonalSetting and ensure consistent layout width and padding.
- No functional changes; UI-only adjustment.
- Lint checks passed.
- Verified that pages/TopUp only re-exports the component (no extra wrapper).
Affected: web/src/components/topup/index.jsx
2025-08-24 17:29:42 +08:00