[PR #7613] [CLOSED] Update type for ToolFunction to support new json serialization #23007

Closed
opened 2026-04-19 16:42:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7613
Author: @ParthSareen
Created: 11/11/2024
Status: Closed

Base: mainHead: parth/change-toolfunction-definition


📝 Commits (4)

  • d5aaa2b Update type for ToolFunction to support new json serialization
  • e719efa Add tests and a new TypeField for tools
  • d2f0570 Better marshalling
  • b9c5fd0 Undo TypeField Changes

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 api/types.go (+5 -5)

📄 Description

Need to update the ToolFunction type to support the tool passing from client libraries


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/7613 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 11/11/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `parth/change-toolfunction-definition` --- ### 📝 Commits (4) - [`d5aaa2b`](https://github.com/ollama/ollama/commit/d5aaa2ba72cef62fd265fcb3af28b170f5a3f39f) Update type for ToolFunction to support new json serialization - [`e719efa`](https://github.com/ollama/ollama/commit/e719efa5f58281694263b00de66c2be90b9b342e) Add tests and a new TypeField for tools - [`d2f0570`](https://github.com/ollama/ollama/commit/d2f057079f71b10e093cdaa2dd0ad99feaff4e5f) Better marshalling - [`b9c5fd0`](https://github.com/ollama/ollama/commit/b9c5fd0bd466f33237d5d9e6e057d4e1dd10d34a) Undo TypeField Changes ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+5 -5) </details> ### 📄 Description Need to update the `ToolFunction` type to support the tool passing from client libraries --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 16:42:57 -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#23007