[PR #11013] api: improve usability of ToolFunction struct #13414

Closed
opened 2026-04-13 00:26:35 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11013

State: closed
Merged: No


Resolves #7625

This change is already covered by existing JSON unmarshal tests.

This is a small breaking change to uses of the struct since users will have to replace re-definition of the embedded struct with the new ToolFunctionParameters and ToolFunctionProperty.

**Original Pull Request:** https://github.com/ollama/ollama/pull/11013 **State:** closed **Merged:** No --- Resolves #7625 This change is already covered by existing JSON unmarshal tests. This is a small breaking change to uses of the struct since users will have to replace re-definition of the embedded struct with the new `ToolFunctionParameters` and `ToolFunctionProperty`.
GiteaMirror added the pull-request label 2026-04-13 00:26:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13414