Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short Term Memory not getting stored #2

Open
aaditya25052002 opened this issue Feb 1, 2024 · 0 comments
Open

Short Term Memory not getting stored #2

aaditya25052002 opened this issue Feb 1, 2024 · 0 comments

Comments

@aaditya25052002
Copy link

I want to store the messages at each conversation between userproxy and agent but thats not happening here, idk why, NEED HELP PLEASE!!!!!

    # Max convo length before the end starts falling off, in number of messages. User and AI both count, so minimum is 2.
    DEFAULT_MAX_CONVO_LENGTH = 2
user_proxy = autogen.UserProxyAgent(
    name="user_proxy",
    is_termination_msg=lambda x: x.get("content", "") and x.get("content", "").rstrip().endswith("TERMINATE"),
    human_input_mode="NEVER",
    system_message="A human admin. Execute the google and hubspot apis provided to you. Reply with Terminate where finished or chatbot asks for any required parameters",
    max_consecutive_auto_reply=10,
    function_map=mem_agent.get_function_map(),
    code_execution_config={
        "work_dir": "coding",
        "use_docker": False,
    },
    # Please set use_docker=True if docker is available to run the generated code. Using docker is safer than running the generated code directly.
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant