-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Not able to agent with tool from example #476
Comments
Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap. |
@vaidikcs try another llm like Anthropic or |
@kyegomez @vaidikcs I'm having this problem as well using Groq with the
I've tried removing all params from |
@kyegomez got same error here |
@Vits-99 @aimzieslol @nictuku no more tool decorator is needed, just the function with types, and doc strings. |
@kyegomez thanks! But why running the Devin Example I get this error in tool parsing?
Or anyway I get this after providing file name and content in the terminal after interaction even if the agent understand it should be using the create_file tool: The code I am running is this:
I can then interact with it but it is not able to use the tools. Any suggestion? |
i tried to run code from your example
@tool
def search_api(query: str):
# Add your logic here
return query
Initializing the agent with the OpenAI instance and other parameters
agent = Agent(
agent_name="Covid-19-Chat",
agent_description=(
"This agent provides information about COVID-19 symptoms."
),
llm=llm,
max_loops="auto",
autosave=True,
verbose=True,
stopping_condition="finish",
tools=[search_api],
)
Defining the task and image path
task = ("What are the symptoms of COVID-19?",)
Running the agent with the specified task and image
out = agent.run(task)
print(out)
i got error
and one more thing is there any blog or something to see working of multi agents with tools.
Upvote & Fund
The text was updated successfully, but these errors were encountered: