Skip to content

Can't "Open Code File" with "TypeError: fetch failed" while the extension is busy getting other data #115

@davrous

Description

@davrous

Does this occur consistently? Yes
Repro steps:

  1. Ask to display more threads (which takes time)
  2. In the meantime, open one of your agents
  3. Click on "Open Code File" and try to select a language. This fails with a network error probably because the extension is busy getting details from the threads.

Action: azure-ai-foundry.viewContext.openAgentCodeFile
Error type: NetworkError
Error Message: Error fetching sample code: TypeError: fetch failed

Version: 0.8.0
OS: win32
OS Release: 10.0.26100
Product: Visual Studio Code
Product Version: 1.102.3
Language: en

Call Stack
AIFServiceClient.getSampleCodeIndex extension.js:160677:19
AIFServiceClient.descriptor.value extension.js:166197:31
getSdkItems extension.js:170533:37

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions