ChatContext
autogen.tools.ChatContext #
Bases: BaseContext
ChatContext class that extends BaseContext.
This class is used to represent a chat context that holds a list of messages. It inherits from BaseContext and adds the messages attribute.
Initializes the ChatContext with an agent.
| PARAMETER | DESCRIPTION |
|---|---|
agent | The agent to use for retrieving chat messages. TYPE: |