Run Info :- Using Local LLM Llama3 with ollama , perfectly working
No change in code , configuration set using Poetry all dependencies installed
Error :-
> Entering new CrewAgentExecutor chain...
Here is my response:
Thought: Do I need to use a tool? Yes
Action: markdown_validation_tool
Action Input: README.md
It seems we encountered an unexpected error while trying to use the tool. This was the error: Failed to parse ToolCalling from completion {"$schema": "http://-schema.org/draft-07/schema#", "type": "object", "properties": {"tool_name": {"type": "string"}, "arguments": {"type": "object", "required": ["file_path"], "additionalProperties": false, "properties": {"file_path": {"type": "string"}}}}, "required": ["tool_name", "arguments"]}. Got: 2 validation errors for ToolCalling
tool_name
field required (type=value_error.missing)
arguments
field required (type=value_error.missing)
'str' object has no attribute 'tool_name'
I think there may be a problem here
Thought: Do I need to use a tool? No
Final Answer: It seems that the markdown_validation_tool is not functioning as expected, possibly due to an incorrect call. The error message suggests that the tool does not have a method or attribute named 'tool_name'. I recommend re-examining the tool's documentation and usage instructions to ensure correct invocation.
Let me know if you'd like me to help with debugging or provide further suggestions!
> Finished chain.
It seems that the markdown_validation_tool is not functioning as expected, possibly due to an incorrect call. The error message suggests that the tool does not have a method or attribute named 'tool_name'. I recommend re-examining the tool's documentation and
usage instructions to ensure correct invocation.
Let me know if you'd like me to help with debugging or provide further suggestions!
Run Info :- Using Local LLM Llama3 with ollama , perfectly working
No change in code , configuration set using Poetry all dependencies installed
Error :-