[PR #12175] [CLOSED] Revert "tools: avoid matching braces that are part of tool content" #76020

Closed
opened 2026-05-05 08:29:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12175
Author: @jmorganca
Created: 9/3/2025
Status: Closed

Base: mainHead: revert-12039-jmorganca/tools-braces


📝 Commits (1)

  • 1aa4947 Revert "tools: avoid matching braces that are part of tool content (#12039)"

📊 Changes

2 files changed (+4 additions, -184 deletions)

View changed files

📝 tools/tools.go (+3 -30)
📝 tools/tools_test.go (+1 -154)

📄 Description

Reverts ollama/ollama#12039


🔄 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/12175 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 9/3/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `revert-12039-jmorganca/tools-braces` --- ### 📝 Commits (1) - [`1aa4947`](https://github.com/ollama/ollama/commit/1aa4947cdc931b8d05969102960f8599863a20f8) Revert "tools: avoid matching braces that are part of tool content (#12039)" ### 📊 Changes **2 files changed** (+4 additions, -184 deletions) <details> <summary>View changed files</summary> 📝 `tools/tools.go` (+3 -30) 📝 `tools/tools_test.go` (+1 -154) </details> ### 📄 Description Reverts ollama/ollama#12039 --- <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-05-05 08:29:00 -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#76020