#:kekcry: Having issues with groupchat on autogen

5 messages · Page 1 of 1 (latest)

onyx iron
#

I tried from pyautogen==0.2.2 to down , it always give me these 2 errors :

this is for version 0.2.0

ValueError: 'chat_manager' is not in list```

this is for version 0.2.2
```    raise LocalLLMError(f"Failed to parse JSON from local LLM response - error: {str(e)}")
memgpt.errors.LocalLLMError: Failed to parse JSON from local LLM response - error: Failed to decode JSON from LLM output:

{
  "function": "core_memory_append",  //choose function based on ongoing conversation and input provided, eg append data to core_memory if conversation started, send_message if conversation started with human user's message, etc. - error
Failed to decode valid MemGPT JSON from LLM output:
=====

{
  "function": "core_memory_append",  //choose function based on ongoing conversation and input provided, eg append data to core_memory if conversation started, send_message if conversation started with human user's message, etc.
=====

Process finished with exit code 1
#

my code its like : boss = autogen.UserProxyAgent( name="chat_manager", max_consecutive_auto_reply=1, is_termination_msg=termination_msg, code_execution_config=False, human_input_mode="ALWAYS", system_message="The boss who ask questions and give tasks.", ) and Autogen_Agent_1 = autogen.AssistantAgent( name="Autogen_Assistant", llm_config=llm_config, ) the second agent same param... then ```groupchat = autogen.GroupChat(agents=[boss, Autogen_Agent_1,Autogen_Agent_2 ], messages=[], max_round=5,) # speaker_selection_method="round_robin"
manager = autogen.GroupChatManager(groupchat=groupchat, llm_config=llm_config)

boss.initiate_chat(
manager,
message="""
tell a really good joke
""",
)```

mystic sentinel
#

@neon panther fyi

neon panther
#

Yes. I have a PR for that already