Model picker shows "Select a project" despite a selected default Foundry project
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- azure, javascript, vscode
调研方向
Start by tracing the Foundry model picker and the Foundry Toolkit project and model cache refresh paths; the issue names AitkModelChatProvider and FoundryExtAccessor as leads from inspection of version 1.6.19. Check how a selected default project reaches the picker and what refresh notification follows model retrieval. Done means the picker lists supported deployments from the selected project without requiring foundrytk_list_foundry_models; confirm the suspected cause with maintainers.
由索引模型根据 Issue 内容生成。
描述
Model picker shows "Select a project" despite a selected default Foundry project
Environment
- Windows
- Foundry Toolkit for VS Code (
ms-windows-ai-studio.windows-ai-studio), version 1.6.19 - A default Foundry project with two deployed chat models
Observed steps
- Select a default project in Foundry Toolkit with deployed chat models.
- Open the VS Code chat model picker.
- Choose "Microsoft Foundry via Foundry Toolkit".
- The picker shows "Select a Foundry project in Foundry Toolkit extension to use Foundry models" instead of the deployed models.
The issue persisted after a window reload in the observed session. These steps describe the observed scenario; reproducibility on a fresh installation has not been tested.
Expected behavior
The picker recognizes the selected default project and lists its supported deployed models without requiring a separate model-listing operation.
Actual behavior
The picker indicates no project is selected, even though Foundry Toolkit can retrieve the selected project and both deployments.
Verified workaround
Invoke foundrytk_list_foundry_models (registered tool name: foundrytk-list_foundry_models) to list the project's deployments. Wait at least 30 seconds, close the model picker completely, and reopen the Microsoft Foundry provider. Both deployments then appear.
No configuration, deployment, or authentication settings were changed.
Possible implementation cause (not confirmed)
Read-only inspection of the installed 1.6.19 extension bundle suggests:
AitkModelChatProvidercaches model information, including placeholders, for 30 seconds.- The no-project placeholder resolver reads
FoundryExtAccessor.getProject(), which reads cached project information. FoundryExtAccessormaintains a separate configured-model cache.AitkModelChatProviderexposesonDidChangeLanguageModelInformation, but no call to itschangeLanguageModelInformation.firewas found in the installed bundle.
This may be a project initialization/cache refresh notification issue. The exact root cause requires maintainer confirmation.
Diagnostic evidence
The Foundry Toolkit output reported successful retrieval of the selected project and two models during troubleshooting. The picker subsequently displayed both models after the workaround.
Azure subscription IDs, resource names, endpoints, and authentication details are intentionally omitted.
- 主要语言
- JavaScript
- 星标
- 2.1k
- 派生
- 260
- 平均合并
- 3 小时 18 分钟
- 30 天内合并 PR
- 43
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/foundry-dev-tools 的其他 Issue
-
needs attention
难度 3/5 半天 新手友好度 34/100
microsoft/foundry-dev-tools#944 · 1 条评论 ·
维护者通常 1 天内回复
-
needs attention
难度 3/5 1-2 天 新手友好度 56/100
microsoft/foundry-dev-tools#943 · 2 条评论 ·
维护者通常 1 天内回复
-
needs attention
难度 4/5 3-5 天 新手友好度 48/100
microsoft/foundry-dev-tools#940 · 1 条评论 ·
维护者通常 1 天内回复
-
Foundry Toolkit: GPT-6 luna tool calls fail in VS Code Chat because Chat Completions is used with reasoning可能已有人在做 @a1exwang 于 5 天前认领。 未关闭needs attention
难度 3/5 1-2 天 新手友好度 70/100
microsoft/foundry-dev-tools#924 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
error while deploying model可能已有人在做 @JerryYangKai 于 12 天前认领。 未关闭investigating
难度 4/5 3-5 天 新手友好度 35/100
microsoft/foundry-dev-tools#899 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 microsoft/foundry-dev-tools 的全部 Issue
相似的 Issue
-
status: needs triage
难度 1/5 1 小时以内 新手友好度 68/100
mastra-ai/mastra#29706 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
daniel-ospina/tortoise#11586 ·
维护者通常 1 天内回复
-
bug stock
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
druxt: getResource returns an empty object for a failed request, so the status is lost可能已有人在做 @Decipher 于 44 天前认领。 未关闭bug needs triage
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
Yu-tao-Li/dsh-computer-use-win#76 ·
维护者通常 1 天内回复