F。
354e866a5b
修复"边栏"隐藏后无法即时生效问题
2025-09-19 16:24:23 +08:00
t0ng7u
9ba37555fd
Merge remote-tracking branch 'origin/alpha' into alpha
2025-09-16 16:56:26 +08:00
t0ng7u
a2b2f1ce27
🛠️ fix: Align setup API errors to HTTP 200 with {success:false, message}
...
Unify the setup initialization endpoint’s error contract to match the rest
of the project and keep the frontend unchanged.
Changes
- controller/setup.go: Return HTTP 200 with {success:false, message} for all
predictable errors in POST /api/setup, including:
- already initialized
- invalid payload
- username too long
- password mismatch
- password too short
- password hashing failure
- root user creation failure
- option persistence failures (SelfUseModeEnabled, DemoSiteEnabled)
- setup record creation failure
- web/src/components/setup/SetupWizard.jsx: Restore catch handler to the
previous generic toast (frontend logic unchanged).
- web/src/helpers/utils.jsx: Restore the original showError implementation
(no Axios response.data parsing required).
Why
- Keep API behavior consistent across endpoints so the UI can rely on the
success flag and message in the normal .then() flow instead of falling
into Axios 4xx errors that only show a generic "400".
Impact
- UI now displays specific server messages during initialization without
frontend adaptations.
- Note: clients relying solely on HTTP status codes for error handling
should inspect the JSON body (success/message) instead.
No changes to the happy path; initialization success responses are unchanged.
2025-09-16 16:55:35 +08:00
Xyfacai
9fa9cf38c2
feat: jimeng kling 支持new api 嵌套中转
2025-09-16 16:28:27 +08:00
Xyfacai
c176e713f7
fix: 非openai 渠道使用 SystemPrompt 设置会panic
2025-09-15 19:38:31 +08:00
IcedTangerine
6b9c1c3ae8
Merge pull request #1698 from QuantumNous/imageratio-and-audioratio-edit
...
feat: 图像倍率,音频倍率和音频补全倍率配置
2025-09-15 14:20:05 +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
a9d3547633
Merge pull request #1795 from seefs001/fix/veo3
...
Fix/veo3
2025-09-13 16:31:55 +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
ad0928388a
Merge pull request #1792 from QuantumNous/alpha
...
veo
2025-09-13 13:16:33 +08:00
Seefs
82f0860a96
Merge branch 'main' into alpha
2025-09-13 13:14:34 +08:00
Seefs
2a9e8f6cdc
Merge pull request #1659 from Sh1n3zZ/feat-vertex-veo
...
feat: vertex veo (#1450 )
2025-09-13 13:11:02 +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
creamlike1024
4b99a996e9
Merge branch 'feitianbubu-pr/add-jimeng-video-images'
2025-09-13 09:57:01 +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
59d6ff0caf
feat(i18n): update TOTP verification message with configuration details
2025-09-12 21:53:21 +08:00
CaIon
e60d6ed4a3
feat(settings): 移除单位美元额度设置项,为后续修改作准备
2025-09-12 21:14:10 +08:00
CaIon
cde212a6ff
Merge remote-tracking branch 'origin/main'
2025-09-12 19:54:46 +08:00
CaIon
0b87aa3a6f
feat(i18n): add translations for pricing terms in English
2025-09-12 19:54:02 +08:00
CaIon
b8687d96d2
Merge remote-tracking branch 'origin/main'
2025-09-12 19:29:40 +08:00
CaIon
c47d9fb5b5
feat(payment): add payment settings configuration and update payment methods handling
2025-09-12 19:29:34 +08:00
CaIon
b04aa78013
feat(channel): add support for Vertex AI key type configuration in settings
2025-09-12 14:06:09 +08:00
Calcium-Ion
c9ffa5a6a4
Merge pull request #1784 from Husky-Yellow/fix/1773
...
fix: UI 未对齐问题
2025-09-12 12:39:29 +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
Zhaokun Zhang
42a9c495f8
fix: UI 未对齐问题
2025-09-11 21:34:49 +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
Xyfacai
9fb64f337c
fix: 预扣额度使用 relay info 传递
2025-09-11 16:04:32 +08:00
huanghejian
837f5556d9
feat: improve nova config
2025-09-11 12:31:43 +08:00
creamlike1024
497fdba3f8
fix: 优化 ImageRequest 的 JSON 序列化,避免覆盖合并 ExtraFields
2025-09-11 12:28:57 +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
Xyfacai
00579f2f8d
feat: dalle 自定义字段透传
2025-09-10 15:29:07 +08:00
CaIon
e8afc25c71
chore: remove PR branching strategy workflow file
2025-09-09 23:23:53 +08:00
Calcium-Ion
e2c2d182fa
Merge pull request #1767 from QuantumNous/copy-claude-header-from-upstream
...
fix: claude header was not set correctly
2025-09-09 23:21:57 +08:00
creamlike1024
bbfbce9c67
fix: claude header was not set correctly
2025-09-09 23:18:07 +08:00
CaIon
1b1953e21a
Merge branch 'alpha'
...
# Conflicts:
# README.md
2025-09-09 23:08:17 +08:00
Calcium-Ion
b3e67d5ef7
Merge pull request #1692 from yunayj/alpha
...
修改claude system参数为数组,增加通用性
2025-09-08 14:55:48 +08:00
IcedTangerine
8319198122
Merge pull request #1761 from QuantumNous/openaitoclaude-improve
...
feat: 改进Claude响应转OpenAI响应
2025-09-07 23:39:30 +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