mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET: Add provider sample for OpenAI Assistants (#812)
* Add provider sample for OpenAI Assistants * Suggestions from pr Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add deprecation warnings for OpenAI Assistants --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
edf114b5e2
commit
daee44d583
+1
-1
@@ -25,7 +25,7 @@ public static class AssistantExtensions
|
||||
throw new ArgumentNullException(nameof(assistantClientResult));
|
||||
}
|
||||
|
||||
return AsAIAgent(assistantClientResult, assistantClient, chatOptions);
|
||||
return AsAIAgent(assistantClientResult.Value, assistantClient, chatOptions);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user