File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
samples/microsoft/csharp/getting-started-agents Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 1616var fabricConnectionId = configuration [ "FabricConnectionId" ] ;
1717
1818// Create the Agent Client
19- PersistentAgentsClient agentClient = new (
20- projectEndpoint ,
21- new DefaultAzureCredential ( ) ,
22- new PersistentAgentsAdministrationClientOptions (
23- PersistentAgentsAdministrationClientOptions . ServiceVersion . V2025_05_01
24- ) ) ;
19+ PersistentAgentsClient agentClient = new ( projectEndpoint , new DefaultAzureCredential ( ) ) ;
2520
2621// Create the MicrosoftFabricToolDefinition object needed when creating the agent
2722ToolConnectionList connectionList = new ( )
Original file line number Diff line number Diff line change 1616var fabricConnectionId = configuration [ "FabricConnectionId" ] ;
1717
1818// Create the Agent Client
19- PersistentAgentsClient agentClient = new (
20- projectEndpoint ,
21- new DefaultAzureCredential ( ) ,
22- new PersistentAgentsAdministrationClientOptions (
23- PersistentAgentsAdministrationClientOptions . ServiceVersion . V2025_05_01
24- ) ) ;
19+ PersistentAgentsClient agentClient = new ( projectEndpoint , new DefaultAzureCredential ( ) ) ;
2520
2621// Create the MicrosoftFabricToolDefinition object needed when creating the agent
2722ToolConnectionList connectionList = new ( )
You can’t perform that action at this time.
0 commit comments