qwen3:8b sometimes writes a tool call as plain text instead of making it
Maintainer antworten meist innerhalb von 1 Tag
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
- Bereich
- ai, backend-api-design
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
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.pyandsentient/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
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus existence-master/Sentient
-
Telegram/Discord: tapping "Local only" in the /model list should ask too, and "/model Local only no" should cancelEvtl. vergeben @bernalalexis-try hat das vor 12 Tagen übernommen. Offenarea: channels enhancement good first issue priority: P2 size: S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
existence-master/Sentient#457 · 4 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: devices good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
existence-master/Sentient#96 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Deleting a memory with a broken stored field fails in the REST routeEvtl. vergeben @Ankit874396 hat das heute übernommen. Offenarea: memory bug good first issue priority: P2 size: S
existence-master/Sentient#539 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Second look on qwen3:8b lets a code step that also empties a file throughEvtl. vergeben @sahilphad07-sudo hat das vor 6 Tagen übernommen. Offenarea: engine bug priority: P2 size: S
existence-master/Sentient#518 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
qwen3:8b helper gives an empty answer after browser_open instead of taking the screenshotEvtl. vergeben @n-o-t-mugen hat das vor 7 Tagen übernommen. Offenarea: browser area: engine bug priority: P2 size: S
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 53/100
existence-master/Sentient#509 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in existence-master/Sentient
Ähnliche Issues
-
Bug: POWERTOOLS_IDEMPOTENCY_DISABLED set to an empty or non-boolean value crashes every invocationEvtl. vergeben @lechakrawarthy hat das heute übernommen. Offenbug good first issue help wanted idempotency
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
aws-powertools/powertools-lambda-python#8728 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
emeraldleaf/okl#320 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
mnemosyne-oss/mnemosyne#1309 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
huggingface/diffusers#15163 ·
Maintainer antworten meist innerhalb von 1 Tag
-
integration: ring
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
home-assistant/core#189787 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag