Skip to content

Commit 34ae321

Browse files
committed
Fix one more getnewthread case
1 parent 488b0a2 commit 34ae321

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent-framework/user-guide/agents/multi-turn-conversation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Some underlying service stored conversations/threads/responses might be persiste
3939

4040
```csharp
4141
// Create a new thread.
42-
AgentThread thread = agent.GetNewThread();
42+
AgentThread thread = await agent.GetNewThreadAsync();
4343
// Run the agent with the thread.
4444
var response = await agent.RunAsync("Hello, how are you?", thread);
4545

0 commit comments

Comments
 (0)