Model picker shows "Select a project" despite a selected default Foundry project
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- azure, javascript, vscode
- Ambito
- developer-experience, tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 2.1k
- Fork
- 260
- Merge medio
- 3h 18m
- PR unite (30g)
- 43
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/foundry-dev-tools
-
I can not deploy it.Apertaneeds attention
Difficoltà 3/5 Mezza giornata Idoneità per principianti 34/100
microsoft/foundry-dev-tools#944 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs attention
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
microsoft/foundry-dev-tools#943 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Foundry Toolkit Copilot model provider drops token usage and always reports zero context tokensApertaneeds attention
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/foundry-dev-tools#940 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Foundry Toolkit: GPT-6 luna tool calls fail in VS Code Chat because Chat Completions is used with reasoningForse già presa @a1exwang l’ha presa 3 giorni fa. Apertaneeds attention
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
microsoft/foundry-dev-tools#924 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
error while deploying modelForse già presa @JerryYangKai l’ha presa 10 giorni fa. Apertainvestigating
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/foundry-dev-tools#899 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/foundry-dev-tools
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
guybedford/es-module-lexer#266 ·
-
bug documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
apify/apify-docs#3206 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
anhnt256/cursor-swarm#21 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
zerohourzulu/irontrellis#16 ·