Update OpenAIAssistantAgent doc (#6870)

This commit is contained in:
Eric Zhu 2025-07-28 01:52:10 -07:00 committed by GitHub
parent 85779d7841
commit e85eea88f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,17 +93,12 @@ class OpenAIAssistantAgentState(BaseModel):
class OpenAIAssistantAgent(BaseChatAgent):
"""An agent implementation that uses the Assistant API to generate responses.
.. warning::
This module is deprecated starting v0.7.0 and will be removed in a future version.
Please use :class:`~autogen_ext.agents.openai.OpenAIAgent` instead.
Installation:
.. code-block:: bash
pip install "autogen-ext[openai<1.83]" # For OpenAI Assistant
# pip install "autogen-ext[openai<1.83,azure]" # For Azure OpenAI Assistant
pip install "autogen-ext[openai]" # For OpenAI Assistant
# pip install "autogen-ext[openai,azure]" # For Azure OpenAI Assistant
This agent leverages the Assistant API to create AI assistants with capabilities like: