[PR #9834] Fix template processing for tool calls in /v1/chat/completions endpoint #44317

Open
opened 2026-04-24 23:49:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9834
Author: @alejomongua
Created: 3/17/2025
Status: 🔄 Open

Base: mainHead: fix-9802-issue


📝 Commits (2)

  • 8b32e53 Fix template processing for tool calls in /v1/chat/completions endpoint
  • 40c004d Tool calls processed independently of the content type

📊 Changes

1 file changed (+28 additions, -16 deletions)

View changed files

📝 openai/openai.go (+28 -16)

📄 Description

Fixes bug #9802


🔄 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/9834 **Author:** [@alejomongua](https://github.com/alejomongua) **Created:** 3/17/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-9802-issue` --- ### 📝 Commits (2) - [`8b32e53`](https://github.com/ollama/ollama/commit/8b32e534015dd9a1dd6f7dc8df112398faed540f) Fix template processing for tool calls in /v1/chat/completions endpoint - [`40c004d`](https://github.com/ollama/ollama/commit/40c004d73898a3126b6b0185abc66eeee97c26de) Tool calls processed independently of the content type ### 📊 Changes **1 file changed** (+28 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `openai/openai.go` (+28 -16) </details> ### 📄 Description Fixes bug #9802 --- <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-24 23:49:02 -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#44317