Skip to content

[Issue]: ConversableAgent parameter ---chat_messages #2928

Closed
@somewhere1

Description

@somewhere1

Describe the issue

"chat_messages (dict or None): the previous chat messages that this agent had in the past with other agents.
Can be used to give the agent a memory by providing the chat history. This will allow the agent to
resume previous had conversations. Defaults to an empty chat history."I'm having trouble understanding the meaning of this parameter. Since it doesn't exist before we initialize the object, how can there be a chat history? This has confused me for a long time. I haven't found a correct example of how to use this parameter, and I'm hoping to find the right way to use it

Steps to reproduce

No response

Screenshots and logs

KeyError: <autogen.agentchat.conversable_agent.ConversableAgent object at 0x0000027035619CD0>

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2Issues which are related to the pre 0.4 codebaseneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions