[PR #12625] [MERGED] types: send index for tool calls #19163

Closed
opened 2026-04-16 06:59:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12625
Author: @ParthSareen
Created: 10/15/2025
Status: Merged
Merged: 10/15/2025
Merged by: @ParthSareen

Base: mainHead: parth/remove-omitempty-tc-index


📝 Commits (2)

📊 Changes

2 files changed (+25 additions, -1 deletions)

View changed files

📝 api/types.go (+1 -1)
📝 api/types_test.go (+24 -0)

📄 Description

we start tool calling index at 0 but that is omitted in go


🔄 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/12625 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 10/15/2025 **Status:** ✅ Merged **Merged:** 10/15/2025 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth/remove-omitempty-tc-index` --- ### 📝 Commits (2) - [`66d79cd`](https://github.com/ollama/ollama/commit/66d79cd2880a2bb9798b29103cabd73dadee4f20) types: send index for tool calls - [`b84fe95`](https://github.com/ollama/ollama/commit/b84fe953e4ef9f43046730c3a878677db9b62e97) add test ### 📊 Changes **2 files changed** (+25 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+1 -1) 📝 `api/types_test.go` (+24 -0) </details> ### 📄 Description we start tool calling index at 0 but that is omitted in go --- <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 06:59:13 -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#19163