[PR #14104] docs: improve python code in tool calling examples #14515

Open
opened 2026-04-13 00:56:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14104
Author: @meonkeys
Created: 2/5/2026
Status: 🔄 Open

Base: mainHead: improve-tools-doc


📝 Commits (1)

  • 26c84e3 docs: improve python code in tool calling examples

📊 Changes

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

View changed files

📝 docs/capabilities/tool-calling.mdx (+2 -1)

📄 Description

  1. use dict's .values() method to avoid duplicating function names
  2. add missing messages[] array in final example

🔄 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/14104 **Author:** [@meonkeys](https://github.com/meonkeys) **Created:** 2/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `improve-tools-doc` --- ### 📝 Commits (1) - [`26c84e3`](https://github.com/ollama/ollama/commit/26c84e354e36a5be5e6592909154a15bec253519) docs: improve python code in tool calling examples ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/capabilities/tool-calling.mdx` (+2 -1) </details> ### 📄 Description 1. use dict's `.values()` method to avoid duplicating function names 1. add missing `messages[]` array in final example --- <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:56:30 -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#14515