Skip to content

fix: Ollama tool calls with empty properties - #348

Merged
hadley merged 2 commits into
tidyverse:mainfrom
gadenbuie:fix/ollama-empty-properties
Mar 1, 2025
Merged

fix: Ollama tool calls with empty properties#348
hadley merged 2 commits into
tidyverse:mainfrom
gadenbuie:fix/ollama-empty-properties

Conversation

@gadenbuie

Copy link
Copy Markdown
Collaborator

Simple fix to avoid sending properties:[] in the tool definition to Ollama. If present, Ollama throws.

@hadley
hadley merged commit 70af867 into tidyverse:main Mar 1, 2025
@hadley

hadley commented Mar 1, 2025

Copy link
Copy Markdown
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants