Correcting parameter assignment and using parameter naming vs relying on position (#1239)

This commit is contained in:
Michael McKechney
2025-10-06 17:46:37 -04:00
committed by GitHub
Unverified
parent 66009c617d
commit f1694b0507
@@ -110,9 +110,10 @@ public static class PersistentAgentsClientExtensions
}
var createPersistentAgentResponse = await persistentAgentsClient.Administration.CreateAgentAsync(
model,
name,
instructions,
model: model,
name: name,
description: description,
instructions: instructions,
tools: tools,
toolResources: toolResources,
temperature: temperature,
@@ -163,9 +164,10 @@ public static class PersistentAgentsClientExtensions
}
var createPersistentAgentResponse = persistentAgentsClient.Administration.CreateAgent(
model,
name,
instructions,
model: model,
name: name,
description: description,
instructions: instructions,
tools: tools,
toolResources: toolResources,
temperature: temperature,