Files
agent-framework/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIAssistants
T
westey a3a9147e61 .NET: [BREAKING] Rename AgentThread to AgentSession (#3430)
* Rename AgentThread to AgentSession

* Add more renames

* Update readme files

* Revert nullable variable change and further fixes.

* Revert change in header name

* Fix some comments and tests

* Update changelog.

* Address PR feedback.

* Fixing code review comments.

* Fix new errors after merging latest code.
a3a9147e61 ยท 2026-01-26 16:30:25 +00:00
History
..

Prerequisites

WARNING: The Assistants API is deprecated and will be shut down. For more information see the OpenAI documentation: https://platform.openai.com/docs/assistants/migration

Before you begin, ensure you have the following prerequisites:

  • .NET 10 SDK or later
  • OpenAI API key

Set the following environment variables:

$env:OPENAI_API_KEY="*****" # Replace with your OpenAI API key
$env:OPENAI_MODEL="gpt-4o-mini"  # Optional, defaults to gpt-4o-mini