[PR #13076] [CLOSED] tools: add tool call id to qwen3coder parser #14063

Closed
opened 2026-04-13 00:43:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13076
Author: @ParthSareen
Created: 11/13/2025
Status: Closed

Base: mainHead: parth/qwen3-coder-toolcall-id


📝 Commits (1)

  • 76f0b2e tools: add tool call id to qwen3coder parser

📊 Changes

3 files changed (+23 additions, -16 deletions)

View changed files

📝 model/parsers/qwen3coder.go (+6 -4)
📝 server/routes.go (+2 -12)
tools/tools_utils.go (+15 -0)

📄 Description

In order to use parsers as independent packages, they must conform to the Ollama API spec.

Currently we add tool call ids in the api layer in routes.go, but these field must come from the parsing layer.


🔄 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/13076 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 11/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `parth/qwen3-coder-toolcall-id` --- ### 📝 Commits (1) - [`76f0b2e`](https://github.com/ollama/ollama/commit/76f0b2e17c9a610e37d8004c9db8165c6620bb77) tools: add tool call id to qwen3coder parser ### 📊 Changes **3 files changed** (+23 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `model/parsers/qwen3coder.go` (+6 -4) 📝 `server/routes.go` (+2 -12) ➕ `tools/tools_utils.go` (+15 -0) </details> ### 📄 Description In order to use parsers as independent packages, they must conform to the Ollama API spec. Currently we add tool call ids in the api layer in routes.go, but these field must come from the parsing layer. --- <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-13 00:43:46 -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#14063