PulseAugur
中
实时 12:48:04
English(EN) Ollama drops tool calls to names not in tools and returns an empty reply

Ollama 在模型名称未列出函数时会丢弃工具调用

Ollama 的通用工具解析器会在模型尝试使用未在提供的工具中明确列出的函数时丢弃工具调用。这会导致模型返回空回复,尽管 token 已生成并消耗。当模型(如 qwen3:0.6b)被提示调用特定工具但该工具未包含在可用工具列表中时,就会出现此问题。一种解决方法是确保所有潜在工具都包含在请求中,并且该问题正在上游 issue 中跟踪。 AI

影响 此 bug 可能导致使用 Ollama 进行工具调用的应用程序出现意外的空响应,可能引起用户混淆或应用程序错误。

排序理由 这是一个针对特定软件产品的 bug 报告和解决方法,并非新的发布或重要的行业事件。

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Ollama 在模型名称未列出函数时会丢弃工具调用

本文如何被排名

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
这是一个针对特定软件产品的 bug 报告和解决方法,并非新的发布或重要的行业事件。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
31 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · The Homelab Postmortem ·

    Ollama 放弃了对不在工具列表中的工具的调用,并返回空回复

    <p><strong>TL;DR</strong>: When a model served by Ollama calls a function that isn't in the request's <code>tools</code> list, Ollama drops the call. The reply has no <code>content</code> and no <code>tool_calls</code>, but an <code>eval_count</code> above zero, so tokens were ge…