[PR #10917] tools: resiliency upgrade to name and arg extraction from template #13397

Closed
opened 2026-04-13 00:25:59 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/10917

State: closed
Merged: Yes


Closes: https://github.com/ollama/ollama/issues/10897

Doesn't fully solve the issue as an extra token gets printed out but at least gets it to working state.

<tool_call>

Calling function: get_temperature
Arguments:
{'city': 'Tokyo'}
Function output: 30

Update:

  • strip out the <tool_call> stuff when in FC
**Original Pull Request:** https://github.com/ollama/ollama/pull/10917 **State:** closed **Merged:** Yes --- Closes: https://github.com/ollama/ollama/issues/10897 Doesn't fully solve the issue as an extra token gets printed out but at least gets it to working state. ```Prompt: What is the temperature in Tokyo? <tool_call> Calling function: get_temperature Arguments: {'city': 'Tokyo'} Function output: 30 ``` Update: - [ ] strip out the <tool_call> stuff when in FC
GiteaMirror added the pull-request label 2026-04-13 00:25:59 -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#13397