mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Correcting parameter assignment and using parameter naming vs relying on position (#1239)
This commit is contained in:
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,
|
||||
|
||||
Reference in New Issue
Block a user