Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

qwen3:8b sometimes writes a tool call as plain text instead of making it

Geschlossen
#532 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@itsskofficial arbeitet bereits daran.

Seit 31.10.2026.

  • #538 von @itsskofficial — gemerged

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python

Rechercherichtung

Start by reading sentient/agent/loop.py and searching sentient/llm/ for existing text-to-tool-call parsing. Reproduce the issue with qwen3:8b and inspect the written-out memory_remember call, including any <tool_call> wrapper. Done when it runs through the same safety checks or gets one nudge, and raw call text is never shown to the user.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: engine bug priority: P2 size: S

Seen while testing #531 (#526) on ollama_chat/qwen3:8b. One chat reply contained the memory_remember call written out as text, the tool name and its JSON arguments, rather than an actual tool call. Nothing was saved, and the user saw the raw call in the reply.

To look at

  • Whether the agent loop already recovers tool calls written as text for small models (search sentient/agent/loop.py and sentient/llm/ for any text-to-tool-call parsing), and why it didn't catch this one: its shape, or a <tool_call> wrapper qwen uses.
  • If not, add a tolerant parser: when a reply is only a tool call written out (a known tool name plus a JSON object), run it as a call. Use the same safety checks as a real call, so the risk rules still apply. Otherwise nudge the model once to make the call properly.
  • Never show the raw call text to the user.

Done when: in a real run on qwen3:8b, a written-out memory_remember either runs as a real call or gets one nudge, and the user never sees the raw text.

Vorherrschende Sprache
Python
Sterne
716
Forks
132
Ø Merge
15 Std. 24 Min.
Gemergte PRs (30 T.)
211

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus existence-master/Sentient

Alle Issues in existence-master/Sentient

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.