[PR #11113] [MERGED] tools: return empty args object instead of null #23981

Closed
opened 2026-04-19 17:19:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11113
Author: @jmorganca
Created: 6/18/2025
Status: Merged
Merged: 6/18/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/empty-args


📝 Commits (1)

  • 04e7754 tools: return empty args instead of null

📊 Changes

2 files changed (+17 additions, -12 deletions)

View changed files

📝 tools/tools.go (+2 -2)
📝 tools/tools_test.go (+15 -10)

📄 Description

Fixes https://github.com/ollama/ollama/issues/11112


🔄 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/11113 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 6/18/2025 **Status:** ✅ Merged **Merged:** 6/18/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/empty-args` --- ### 📝 Commits (1) - [`04e7754`](https://github.com/ollama/ollama/commit/04e7754137d0418554870846ddaceab5bdf4e655) tools: return empty args instead of null ### 📊 Changes **2 files changed** (+17 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `tools/tools.go` (+2 -2) 📝 `tools/tools_test.go` (+15 -10) </details> ### 📄 Description Fixes https://github.com/ollama/ollama/issues/11112 --- <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-19 17:19:06 -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#23981