Help Center/ CodeArts Agent/ FAQs/ Compatibility/ What Do I Do If a Session Fails to Be Created Due to Extension Compatibility?
Updated on 2026-07-27 GMT+08:00

What Do I Do If a Session Fails to Be Created Due to Extension Compatibility?

Symptom

When a session is initiated on the chat panel of CodeArts Agent, an error message is displayed, indicating that the CodeArts Agent session fails to be created due to extension compatibility issues (such as Microsoft Foundry).

Cause Analysis

The Microsoft Foundry extension has been installed from the extension marketplace. During its loading process, it may modify system variables or dependency libraries, thereby interfering with the runtime environment of CodeArts Agent.

Solution

  1. In the sidebar of Visual Studio Code, click .
  2. In the search box, enter Microsoft Foundry and press Enter.
  3. Click the search result and click Disable on the right to disable the extension.
  4. Return to the chat panel of CodeArts Agent, restart Visual Studio Code, and initiate a session again. Check whether the issue is resolved.
  5. If the issue persists, submit a service ticket to get help from Huawei Cloud customer service.