.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:
westey
2025-09-18 16:22:06 +01:00
committed by GitHub
Unverified
parent edf114b5e2
commit daee44d583
6 changed files with 77 additions and 1 deletions
@@ -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>