.Net: gpt-image-1 is the default image model in the .NET OpenAI connector, and OpenAI shuts it down on October 23
维护者通常 1 天内回复
评估
调研方向
读取 Services/OpenAITextToImageService.cs:39 和 Core/ClientCore.TextToImage.cs:44 中报告的两个 fallback,然后核实 provider 的弃用通知。检查 .NET connector 如何选择默认图像模型,并运行相关测试。当其默认值不再指定计划关闭的模型且测试通过时,即完成。
由索引模型根据 Issue 内容生成。
描述
Hi, quick heads-up in case this isn't already on your radar.
OpenAI shuts down gpt-image-1 on October 23, 2026, three weeks from now. After that, requests that name it fail. OpenAI's replacement is gpt-image-2.
The .NET OpenAI connector uses it as the default image model when the caller doesn't pass a model id, so anyone generating images with the defaults would start getting errors on that date:
Services/OpenAITextToImageService.cs:39, wheremodelId ?? "gpt-image-1"is used when the service is createdCore/ClientCore.TextToImage.cs:44, the same fallback right beforeGenerateImageAsync
It's still there on the default branch as of October 2. OpenAI's notice is on their deprecations page.
How I found it: I maintain DocsWatcher, an open source scanner that checks code against the deprecation notices providers publish, and I run it over popular open source repositories. Most of what it turns up is model names sitting in lists and price tables, which don't break anything, so I read every hit in real code myself before opening anything. This one looked like a real call to me, but you know your code and I don't, so if I've got it wrong just say so and I'll close this.
Nothing to adopt here. I just thought you'd want to know.
- 主要语言
- C#
- 星标
- 28.7k
- 派生
- 4.8k
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 28
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/semantic-kernel 的其他 Issue
-
Python: Rejected system messages leave AgentChat permanently active可能已有人在做 @Michael-Duck 于 2 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/semantic-kernel#14638 ·
维护者通常 1 天内回复
-
Python: Bug: Anthropic, Bedrock, Google AI and Vertex AI tool formatters ignore include_in_function_choices=False可能已有人在做 @wasim-builds 于 8 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/semantic-kernel#14615 ·
维护者通常 1 天内回复
-
Python: Bug: AnnotationContent and StreamingAnnotationContent to_element writes CitationType.X, so annotations in a rendered chat history fail to parse可能已有人在做 @CRYPTONIKAV 于 11 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/semantic-kernel#14590 ·
维护者通常 1 天内回复
-
Python: Bug: TimePlugin timeZoneOffset and timeZoneName always return an empty string可能已有人在做 @jeevan1098 于 9 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 80/100
microsoft/semantic-kernel#14583 · 1 条评论 ·
维护者通常 1 天内回复
-
Python: VolatileMemoryStore.get_batch and get_nearest_matches ignore with_embeddings=False (deepcopy result is discarded)可能已有人在做 @VANDRANKI 于 23 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/semantic-kernel#14522 ·
维护者通常 1 天内回复
查看 microsoft/semantic-kernel 的全部 Issue
相似的 Issue
-
area-multitenancy area-security p1-recommended priority-high technical-debt
难度 2/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
-
kind/enhancement Provider Upgrade pulumi/pulumi-azure R1 Task
难度 2/5 1-3 小时 新手友好度 65/100
pulumi/pulumi-azure#3669 ·
-
[BUG] FromCString causes 1 byte OOB read in native code可能已有人在做 @mattleibow 于 1 天前认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 68/100
mono/SkiaSharp#5426 · 1 个 reaction · 已指派 2 人 ·
维护者通常 1 天内回复
-
webclient does not start可能已有人在做 @PawelTroka 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
PawelTroka/Computator.NET#257 ·
维护者通常 1 天内回复