[PR #13559] [MERGED] docs: fix tool name mismatch in api.md example #76564

Closed
opened 2026-05-05 09:11:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13559
Author: @nathannewyen
Created: 12/24/2025
Status: Merged
Merged: 1/3/2026
Merged by: @jmorganca

Base: mainHead: fix/api-doc-example


📝 Commits (1)

  • acc9381 docs: fix tool name mismatch and trailing commas in api.md example

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 docs/api.md (+3 -3)

📄 Description

The tool calling example used get_temperature in the tool_calls but
defined the tool as get_weather. Also removed trailing commas that
made the JSON invalid.

Fixes #13031


🔄 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/13559 **Author:** [@nathannewyen](https://github.com/nathannewyen) **Created:** 12/24/2025 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `fix/api-doc-example` --- ### 📝 Commits (1) - [`acc9381`](https://github.com/ollama/ollama/commit/acc93810b9548944424fb9ff59798b99e9b9da99) docs: fix tool name mismatch and trailing commas in api.md example ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+3 -3) </details> ### 📄 Description The tool calling example used `get_temperature` in the tool_calls but defined the tool as `get_weather`. Also removed trailing commas that made the JSON invalid. Fixes #13031 --- <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 09:11:48 -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#76564