Skip to content

Commit 89d0021

Browse files
committed
Small fix
1 parent b2c44b5 commit 89d0021

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent-framework/user-guide/model-context-protocol/using-mcp-with-foundry-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ from azure.identity.aio import AzureCliCredential
158158
from agent_framework.azure import AzureAIAgentClient
159159

160160
# Required environment variables
161-
os.environ["AZURE_AI_PROJECT_ENDPOINT"] = "https://<your-project>.cognitiveservices.azure.com"
161+
os.environ["AZURE_AI_PROJECT_ENDPOINT"] = "https://<your-project>.services.ai.azure.com/api/projects/<project-id>"
162162
os.environ["AZURE_AI_MODEL_DEPLOYMENT_NAME"] = "gpt-4o-mini" # Optional, defaults to this
163163
```
164164

0 commit comments

Comments
 (0)