Replies: 2 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @ArtDu030, I've noticed blank responses with LM Studio when it receives messages whereby the last message has a role "system" (or possibly "assistant", too. I believe it returns blank because it thinks that it's finishing off the system message, which is already complete. Can you check if that's the case and let me know. I believe we can surpress the system message that shows at the end. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've been experimenting with creating a group chat involving 7 agents. Each agent is supposed to give their feedback, which should then be summarized by the Coordinator. However, I haven't been able to verify if this summarization works correctly. Here's what I've done so far: I initialized the agents and the group chat using a local model with LM Studio. Occasionally, when I start the conversation, it stops immediately with an "content field is empty" error. But when I reset the model and restart the server, it works. Here’s my current progress:
I configured the Analyzer agent in the system message to start its content with "Forward to Communicator". My Coordinator is configured as follows:
Steps to Follow:
In the server logs, I see a role labeled "Assistant" with empty content. I don't know where this role "Assistant" comes from since I haven't defined it in the group chat. Does anyone have any ideas?
In summary: Can anyone with experience tell me how I can forward the content from one agent to another through the Coordinator? Also, does anyone know why the role "Assistant" appears in the logs when I haven't defined such a role?
I found .py files in \Lib\site-packages\flaml\autogen\agentchat but dont know really if a modification is needed to solve my issue if there is any.
Here's the log content before the error occurs:
{
"content": "",
"role": "assistant"
},
{
"content": "You didn't choose a speaker. As a reminder, to determine the speaker use these prioritised rules:\n 1. If the context refers to themselves as a speaker e.g. "As the..." , choose that speaker's name\n 2. If it refers to the "next" speaker name, choose that name\n 3. Otherwise, choose the first provided speaker's name in the context\n The names are case-sensitive and should not be abbreviated or changed.\n The only names that are accepted are ['Analyzer', 'Communicator', 'Activity_Coordinator', 'Boundary_Setter', 'Conflict_Resolver', 'Patience_and_Persistence', 'External_Help'].\n Respond with ONLY the name of the speaker and DO NOT provide a reason.",
"role": "system"
}
],
"model": "llama2",
"max_tokens": 3000,
"stream": false,
"temperature": 0.1
}
[2024-06-14 16:59:31.162] [ERROR] [Server Error] {"title":"'messages' array must only contain objects with a 'content' field that is not empty"}
Beta Was this translation helpful? Give feedback.
All reactions