Closed aliensouls closed 1 week ago
I get the same issue too, I initially though it is an llm issue. But after trying multiple llm's I get similar results. Not sure why this happens, however please let me know in case you or anyone else finds the solution.
I get the following error Action 'Delegate work to Directory Reader' don't exist, these are the only available Actions: Delegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: ['Overseer', 'Directory Reader', 'File Reader'] The input to this tool should be the coworker, the task you want them to do, and ALL necessary context to exectue the task, they know nothing about the task, so share absolute everything you know, don't reference things but instead explain them. Ask question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: ['Overseer', 'Directory Reader', 'File Reader'] The input to this tool should be the coworker, the question you have for them, and ALL necessary context to ask the question properly, they know nothing about the question, so share absolute everything you know, don't reference things but instead explain them.
This error is frequent at least on local models. The only model that I manage to use is OpenHermes.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
I noticed the agents are trying to talk to each other in JSON and then are getting stuck in "I cannot communicate with the other agent because the format is incorrect", it seems like the part needs improvement and specific instruction about how they should delegate tasks, here are my log example verbatim, the agent was in some loop and didn't knew how to delegate (but in many other occasions it succeeds, so it's random):
here is full log from crew output:
Thought: I need to correct the input format for the action to match the required key-value dictionary structure. Let's fix the JSON formatting and reattempt the delegation.
Action: Delegate work to co-worker
Action Input:
Thought: There seems to be a misunderstanding in how to format the JSON for the action input. I must ensure that the JSON dictionary is correctly formatted according to the specifications given. It seems that the system is expecting a proper dictionary with strings enclosed in double quotes and with valid JSON syntax.
Action: Delegate work to co-worker
Action Input:
Thought: The error in my previous attempts indicates that there is an issue with the JSON formatting of my action input. I need to ensure that the input I provide is a valid key-value dictionary with proper JSON syntax, meaning that the keys and string values must be in double quotes and the entire structure must adhere to JSON standards. I will carefully format the JSON dictionary for the action input and try again.
Action: Delegate work to co-worker
Action Input:
Thought: It seems that my previous attempts to delegate work failed due to an incorrect action input format. I need to ensure that the action input is a valid Python dictionary with strings enclosed in double quotes. I will revise the action input to form a proper dictionary and ensure that the "task" and "context" fields are clearly defined and contain all necessary information for the Verse programming language Researcher to understand the assignment.
Action: Delegate work to co-worker
Action Input:
Thought: Given the persistent issues with the action inputs and the errors indicating that the input is not a valid key, value dictionary, it appears there has been a fundamental misunderstanding or technical issue with the provided tool. The JSON formatting seems to be correct, with keys and values wrapped in double quotes, as per JSON standards. However, the system has not accepted any of the attempts. It may be necessary to simplify the task and context to their most basic form to meet the tool's requirements, ensuring all necessary details are included for the Verse programming language Researcher to complete the task.
Action: Delegate work to co-worker
Action Input:
Thought: Despite my efforts to format the action input correctly, I've faced repeated errors indicating that the input is not a valid key-value dictionary. There seems to be a disconnect between the expected format and the inputs I've been providing. However, I've reached the limit of the tools I can use, and I must adhere to the constraints given. Therefore, I will now take a different approach to gather information from a co-worker using the 'Ask question to co-worker' tool.
Action: Ask question to co-worker
Action Input:
Thought: After multiple attempts to delegate work and ask questions to my co-workers using the provided tools, I have faced consistent errors and have been unable to gather additional information or examples of advanced Verse programming concepts. Without the input from the Verse programming language Researcher and without access to the Verse programming language reference document, I cannot confidently enhance the provided example code with advanced features or confirm that any such enhancements would be syntactically valid and conceptually correct. Therefore, based on the tools and information available to me, I must conclude my response.
Final Answer: Due to repeated technical difficulties and the inability to use the tools provided to gather necessary information and examples from the Verse programming language Researcher, I am unable to enhance the provided example code with advanced Verse programming concepts or provide proof from the documentation that confirms that any additions would be syntactically valid and conceptually correct. My attempts to delegate work and ask questions have resulted in consistent errors, indicating that the action inputs were not recognized as valid key-value dictionaries, despite appearing to adhere to JSON standards. Therefore, without further information or the ability to use the tools successfully, I cannot complete the task as originally requested.
this is output of callback function (what these agents are doing is to try and write examples in Verse programming language from Epic games, based on scraped docs and the website docs) ->>
Verse programming language Researcher, I am unable to enhance the provided example code with advanced Verse programming concepts or provide proof from the documentation that confirms that any additions would be syntactically valid and conceptually correct. My attempts to delegate work and ask questions have resulted in consistent errors, indicating that the action inputs were not recognized as valid key-value dictionaries, despite appearing to adhere to JSON standards. Therefore, without further information or the ability to use the tools successfully, I cannot complete the task as originally requested. -################################################