From a5396d58ab60600d7855519b17c19cb2e762e5f7 Mon Sep 17 00:00:00 2001 From: nmellal Date: Wed, 20 May 2026 11:24:24 +0100 Subject: [PATCH] Change Claude Code environment variables format for vscode extension Updated the configuration format for Claude Code environment variables from an object to an array for vscode extension. The actual format doesn't work --- .../foundry-models/how-to/configure-claude-code.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/articles/foundry/foundry-models/how-to/configure-claude-code.md b/articles/foundry/foundry-models/how-to/configure-claude-code.md index 42c384a598..5b2e6311f9 100644 --- a/articles/foundry/foundry-models/how-to/configure-claude-code.md +++ b/articles/foundry/foundry-models/how-to/configure-claude-code.md @@ -267,13 +267,11 @@ The Claude Code VS Code extension provides a native graphical interface for Clau 1. Select **Edit in settings.json** and add the following configuration: ```json - { - "Claude Code: Environment Variables": { - "CLAUDE_CODE_USE_FOUNDRY": "1", - "ANTHROPIC_FOUNDRY_RESOURCE": "", - "ANTHROPIC_FOUNDRY_API_KEY": "" - } - } + "Claude Code: Environment Variables": [ + {"name": "CLAUDE_CODE_USE_FOUNDRY", "value": "1"}, + {"name": "ANTHROPIC_FOUNDRY_RESOURCE", "value": ""}, + {"name": "ANTHROPIC_FOUNDRY_API_KEY", "value": "" + ] ``` 1. Select the **Spark icon** in the sidebar to open the Claude Code panel.