[PR #11074] Allow to refer local type definitions on a root level of ToolFunction schema #13430

Open
opened 2026-04-13 00:27:08 -05:00 by GiteaMirror · 0 comments
Owner

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

State: open
Merged: No


As it is allowed to define json schema definitions for a ToolFunction structure still it is not possible to refer this declarations from the Properties declarations their selfs.

So this trying to fix this.

  • Verified the tests scoped for api/types*.go only. Not affected.
**Original Pull Request:** https://github.com/ollama/ollama/pull/11074 **State:** open **Merged:** No --- As it is allowed to define json schema definitions for a `ToolFunction` structure still it is not possible to refer this declarations from the `Properties` declarations their selfs. So this trying to fix this. * [x] Verified the tests scoped for `api/types*.go` only. Not affected.
GiteaMirror added the pull-request label 2026-04-13 00:27:08 -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#13430