[PR #12732] [CLOSED] routes/types: add tool call id #19201

Closed
opened 2026-04-16 07:00:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12732
Author: @ParthSareen
Created: 10/22/2025
Status: Closed

Base: mainHead: parth/add-toolcall-id


📝 Commits (4)

📊 Changes

5 files changed (+123 additions, -16 deletions)

View changed files

📝 api/types.go (+6 -4)
📝 openai/openai.go (+1 -11)
📝 openai/openai_test.go (+70 -0)
📝 server/routes.go (+17 -0)
📝 server/routes_generate_test.go (+29 -1)

📄 Description

Adds tool call IDs to the API to improve referencing and mapping for tool calls.

Change for improving how parallel tool calls can be rendered for the template


🔄 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/12732 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 10/22/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `parth/add-toolcall-id` --- ### 📝 Commits (4) - [`08e9ebc`](https://github.com/ollama/ollama/commit/08e9ebc7f633bae173257d57f04658ae0e59fe55) routes/types: add tool call id - [`53e26aa`](https://github.com/ollama/ollama/commit/53e26aab2ca4a02adc78c5d3d03537a85203521d) remove slices - [`d98b996`](https://github.com/ollama/ollama/commit/d98b996e9bfa0ca9ecd76e774f558c137cbf6283) linter - [`d46fbff`](https://github.com/ollama/ollama/commit/d46fbff3870a43f56e8375a59415b48fe6d182c1) update id names ### 📊 Changes **5 files changed** (+123 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+6 -4) 📝 `openai/openai.go` (+1 -11) 📝 `openai/openai_test.go` (+70 -0) 📝 `server/routes.go` (+17 -0) 📝 `server/routes_generate_test.go` (+29 -1) </details> ### 📄 Description Adds tool call IDs to the API to improve referencing and mapping for tool calls. Change for improving how parallel tool calls can be rendered for the template --- <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-16 07:00:44 -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#19201