78 Commits

Author SHA1 Message Date
00cef71be7 暂停欠费生图线路并修正 98K 文生图尺寸传递
## Summary

生图线路确认欠费后立即停止新请求,跳过同一上游账户的其他模型,保留已生成结果和已提交任务。欠费状态须经管理员恢复,不再定时自动解封,也不会被旧任务的成功回执清除。旧模型选择仅使用明确配置且尺寸、比例和参考图数量兼容的备用模型;固定模型模式仍要求用户自行选择。

98K 文生图优先使用其公开声明的任务接口,原生传递分辨率和比例,清除文生图请求中的示例参考图片。

## Scope

- [x] API / backend logic
- [x] Settings / admin configuration

## Required Verification

验证普通 Pro、Banana 2、两个 Plus 和 GPT Image 2 共 10 个真实文生图及参考图编辑用例,均获得可下载的 2048×2048 图片。625 项 helper 回归通过,1 项跳过;TypeScript、日志/品牌/CI/环境/凭据/元数据/测试/产物检查通过。全仓 Biome 仍有历史格式和 lint 诊断(1005 项)。构建机执行生产构建及路由烟测;生产切换前核对任务与请求,保留旧构建和模型配置回滚记录。

## Release Readiness

仅修改本次生图运行逻辑与测试,凭据和验证产物保存在仓库外或忽略目录中。内部生成接口的权限与访问方式保持兼容。
2026-11-03 19:20:18 +08:00
134
01485340b5 fix(agent): ask before replacing refused pinned image models and settle completed actions 2026-10-21 16:10:09 +08:00
134
1705f0ba43 fix(agent): keep official DeepSeek available across task rounds 2026-10-21 13:39:54 +08:00
134
f38488b546 fix(agent): recover image parameter compatibility errors without false model bans 2026-10-21 10:35:23 +08:00
134
32e8c9cbd6 fix(agent): handle legacy image service failure messages 2026-10-21 10:30:30 +08:00
134
2a2a32c3bd fix(agent): recognize image provider HTTP and quota failures 2026-10-21 10:24:41 +08:00
134
d8aa51185e feat(agent): recover automatic image generation without switching user-pinned models 2026-10-21 10:22:54 +08:00
134
73f9844022 fix(agent): consider the full fallback pool within the request deadline 2026-10-21 10:00:50 +08:00
134
1803727d4b fix(agent): reject malformed model envelopes before tool execution 2026-10-21 09:54:37 +08:00
134
8848d00107 fix(agent): distinguish empty upstream answers from policy refusals 2026-10-21 09:49:41 +08:00
134
623859f846 fix(agent): encode circuit timestamps for PostgreSQL comparisons 2026-10-21 09:45:28 +08:00
134
ad25b4e17f feat(agent): add persistent 30-minute multimodal failover circuits 2026-10-21 09:43:12 +08:00
134
30cfd62669 fix(agent): fail over rejected credentials and allow local image downloads 2026-10-19 17:57:12 +08:00
134
50569ca88a feat(canvas): deliver image previews before background archiving and remove generation caps 2026-10-12 08:03:58 +08:00
134
365bad8539 fix(canvas): distinguish provider balance from image rate limits 2026-10-01 07:45:39 +08:00
134
a1973ae202 fix: honor vip98k image contracts 2026-09-10 16:19:49 +08:00
134
d133a48866 fix: stabilize vip98k reference image delivery 2026-09-07 11:48:40 +08:00
134
cb9a90d9ac fix(ai): restore models after successful circuit probe 2026-08-27 17:10:09 +08:00
134
ac1e586156 fix(ai): fail over forbidden image requests 2026-08-27 16:32:47 +08:00
134
5f6341a318 fix: preserve manually disabled image models 2026-08-26 13:44:42 +08:00
134
07a9a61743 fix(ai): fail over failed VIP98K image tasks 2026-08-25 17:04:50 +08:00
134
3f2b18d18d merge: sync Claw production updates into main
# Conflicts:
#	app/(admin)/settings/admin-settings-client.tsx
#	app/canvas/[id]/CanvasEditorLegacyPageClient.tsx
#	playwright.helpers.config.ts
2026-08-11 15:11:59 +08:00
134
1a9888d825 fix: harden canvas image generation flows
(cherry picked from commit 78b0da908c4a0c22bd7eb66b5a661c07fcecb4fc)
2026-07-27 14:41:08 +00:00
134
62c686a26b fix: fail over on upstream image provider errors 2026-07-24 13:51:35 +08:00
134
80e9771790 feat: add Visionary image provider 2026-07-14 14:12:27 +08:00
134
ede6f080a2 feat: add BananaImage image provider 2026-07-13 23:04:54 +08:00
134
fef8947e73 fix agent user-facing image edit preface 2026-07-08 15:52:21 +08:00
134
d48e26fe9a allow agent multi image generation 2026-07-08 14:48:29 +08:00
134
77531aa7b5 improve agent planning brief 2026-07-08 14:48:29 +08:00
134
16f23b3f7c fix canvas cutout intent routing 2026-07-07 21:39:56 +08:00
134
654829c4fd fix: restore canvas pending feedback and scoped capabilities 2026-07-07 20:36:52 +08:00
134
b17779e034 fix: stabilize recent dialogue memory typing 2026-07-07 16:33:21 +08:00
134
c17de9def5 fix: remove agent progress bubble and add dialogue memory 2026-07-07 16:30:56 +08:00
134
6a2b928080 fix: resolve unselected canvas image targets 2026-07-07 16:03:15 +08:00
134
8f679a100c feat: add canvas agent orchestration kernel 2026-07-07 15:19:45 +08:00
134
7e1fd15ebd fix: stabilize canvas agent chat feedback 2026-07-07 14:55:24 +08:00
134
28c5965c52 fix: handle SnapGen image task failures 2026-06-24 21:51:12 +08:00
134
ddfe911812 feat: add SnapGen image provider 2026-06-24 10:58:41 +08:00
134
deacac6e8f feat: route canvas agent local edits 2026-06-24 00:17:03 +08:00
134
96827c760c feat: route canvas agent angle variants 2026-06-23 23:59:24 +08:00
134
0c95829b1e feat: batch direct canvas image edits 2026-06-23 23:42:45 +08:00
134
0afa404b19 feat: route canvas agent watermark removal 2026-06-23 23:31:43 +08:00
134
0f74cbd6ff fix: infer canvas agent image counts 2026-06-23 18:51:21 +08:00
134
bcea56c0d9 fix: bypass clarification for selected canvas slots 2026-06-22 22:14:14 +08:00
134
b032774e8e fix: improve image generation timeout failover 2026-06-22 14:38:59 +08:00
134
e6d3b20308 fix: extend image task waits and scale adjust health 2026-06-21 15:47:10 +08:00
134
2f6d0498e2 fix: failover grsai maintenance image models 2026-06-16 14:48:42 +08:00
134
9e52e1844f Fix Comfly 4K image failover timing 2026-06-12 22:20:50 +08:00
134
1b79f788b5 Adjust image model failover timing 2026-06-12 17:24:13 +08:00
134
1947aae685 improve canvas generation placeholders 2026-06-12 11:14:18 +08:00