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

Add Index for ToolCall Function #160

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

mili-tan
Copy link
Contributor

@awaescher
Copy link
Owner

Guess this also fixes #97.
Another time you implemented Ollama changes before they found their way into the Ollama API docs. Awesome work, @mili-tan

@awaescher awaescher merged commit 7fe48c6 into awaescher:main Jan 3, 2025
1 check passed
@RogerBarreto
Copy link
Contributor

@awaescher Adding the index property alone doesn't solve the problem as this property should be handled by the abstractions and the mapping, ensuring it is used by the FunctionCalling to properly identify the message when sending it back to the model.

Making this change now before having the release ready in docker is a bit fast, I would first try to ensure it works and potentially have an integration test added to it.

@mili-tan mili-tan deleted the ToolCall.Index branch January 3, 2025 13:28
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.

3 participants