You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2026. It is now read-only.
This repository was archived by the owner on Jun 5, 2026. It is now read-only.
Microsoft Foundry for Visual Studio Code modified the global fetch function, causing fetch requests from other extensions to fail, error message: 'RequestInit: duplex option is required when sending a body' #605
You can observe that the fetch function obtained at the beginning and the fetch function obtained after 10 seconds are different. The second fetch function comes from teamsdevapp.vscode-ai-foundry-1.2.3\dist\extension.js, which results in a TypeError: RequestInit: duplex option is required when sending a body error
Expected Behavior
Does not affect the fetch calls of other plugins
Actual Behavior
Affects the fetch calls of other plugins
Steps to Reproduce the Problem
Install the Microsoft Foundry for Visual Studio Code plugin in VSCode
Develop another extension with the following code:
teamsdevapp.vscode-ai-foundry-1.2.3\dist\extension.js, which results in aTypeError: RequestInit: duplex option is required when sending a bodyerrorSpecifications