Skip to content

Commit 46fe750

Browse files
Merge pull request #6997 from aahill/aug-fixes
code fixes
2 parents 77ee47a + c6ad12f commit 46fe750

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-foundry/agents/how-to/tools/bing-code-samples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-agent-service
88
ms.topic: how-to
9-
ms.date: 07/11/2025
9+
ms.date: 09/09/2025
1010
author: aahill
1111
ms.author: aahi
1212
zone_pivot_groups: selection-bing-grounding-code
@@ -173,8 +173,8 @@ using Azure.AI.Agents.Persistent;
173173
using Azure.Identity;
174174

175175
var projectEndpoint = System.Environment.GetEnvironmentVariable("ProjectEndpoint");
176-
var projectEndpoint = System.Environment.GetEnvironmentVariable("ModelDeploymentName");
177-
var projectEndpoint = System.Environment.GetEnvironmentVariable("BingConnectionId");
176+
var modelDeploymentName = System.Environment.GetEnvironmentVariable("ModelDeploymentName");
177+
var bingConnectionId = System.Environment.GetEnvironmentVariable("BingConnectionId");
178178

179179
// Create the Agent Client
180180
PersistentAgentsClient agentClient = new(projectEndpoint, new DefaultAzureCredential());

0 commit comments

Comments
 (0)