整体删除已退役的 gpt-image-2-c
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m59s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 3m47s
Project CI / Backend tests (pull_request) Successful in 5m4s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 9m30s
Project CI / Native shell tests (pull_request) Successful in 6m36s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 10m48s
Project CI / Frontend tests (pull_request) Failing after 3m14s
Project CI / Repository checks (pull_request) Successful in 2m46s
Project CI / AI game creator shell web tests (pull_request) Failing after 2m24s

- 删除 platform-image 的 GPT_IMAGE_2_C_MODEL 常量、re-export、尺寸语义与审计标签
- 移除 api-server 三处任务边界对 gpt-image-2-c 的兼容解析分支
- 移除主站前端历史模型常量与恢复分支,并同步其测试
- 同步 External v1 OpenAPI 描述、ADR、CONTEXT、pitfalls 与后端/运维文档
- 数据库既有 gpt-image-2-c 审计字符串保持原样,不回写不改写
This commit is contained in:
2026-09-21 20:31:16 +08:00
parent fc53f362e4
commit f3c362b1ec
20 changed files with 51 additions and 102 deletions
@@ -3017,7 +3017,7 @@
},
"model": {
"type": "string",
"description": "支持 gpt-image-2.5、gemini-3.1-flash-image-preview、nanobanana2、nano-bananagpt-image-2 / gpt-image-2-c 仅作为历史值在新任务提交边界兼容解析。未传时沿用编辑器默认。"
"description": "支持 gpt-image-2.5、gemini-3.1-flash-image-preview、nanobanana2、nano-bananagpt-image-2 仅作为历史值在新任务提交边界兼容解析;已退役的 gpt-image-2-c 不再接受,命中按不支持的值处理。未传时沿用编辑器默认。"
},
"aspectRatio": {
"type": "string",
@@ -3170,7 +3170,7 @@
},
"model": {
"type": "string",
"description": "支持 gpt-image-2.5、gemini-3.1-flash-image-preview、nanobanana2、nano-bananagpt-image-2 / gpt-image-2-c 仅作为历史值兼容解析。"
"description": "支持 gpt-image-2.5、gemini-3.1-flash-image-preview、nanobanana2、nano-bananagpt-image-2 仅作为历史值兼容解析;已退役的 gpt-image-2-c 不再接受,命中按不支持的值处理。"
},
"aspectRatio": {
"type": "string",
@@ -3488,7 +3488,7 @@
"model": {
"type": "string",
"default": "gemini-3.1-flash-image-preview",
"description": "支持 gpt-image-2.5、gemini-3.1-flash-image-preview、nanobanana2、nano-bananagpt-image-2 / gpt-image-2-c 仅作为历史值兼容解析。未传时默认使用 nanobanana。"
"description": "支持 gpt-image-2.5、gemini-3.1-flash-image-preview、nanobanana2、nano-bananagpt-image-2 仅作为历史值兼容解析;已退役的 gpt-image-2-c 不再接受,命中按不支持的值处理。未传时默认使用 nanobanana。"
},
"referenceImageSrcs": {
"type": "array",