Skip to content
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

TypeError: AsyncClient.chat() got an unexpected keyword argument 'tools' #446

Open
SCP001C opened this issue Feb 17, 2025 · 1 comment
Open

Comments

@SCP001C
Copy link

SCP001C commented Feb 17, 2025

When running the example code from: async-tools.py I got error message "TypeError: AsyncClient.chat() got an unexpected keyword argument 'tools'".

Seems like chat() doesn't support argument "tools" anymore. Is there any solution to implement tool calling with Ollama? Thank you very much.

@ParthSareen
Copy link
Contributor

Hey! Seems like you might be running an older version of the library? What version are you on? Is it 0.4.7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants