[Bug] WeChat inbound images are downloaded but inaccessible to Claw analyze_image
I maintainer di solito rispondono entro 8 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Inizia leggendo la conversione delle immagini in ingresso di WeChat in src/crates/assembly/core/src/service/remote_connect/bot/weixin.rs intorno alle righe 220-255, quindi segui il modo in cui il rendering multimodale di solo testo gestisce l’allegato in src/crates/assembly/core/src/agentic/execution/execution_engine.rs intorno alle righe 1908-1944. Riproduci il flusso Claw di solo testo con un JPEG di WeChat e verifica che l’immagine sia ispezionabile senza un percorso relativo al workspace mancante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
When using BitFun's built-in WeChat gateway with Claw, an inbound image is downloaded successfully but cannot be inspected by a text-only primary model through the analyze_image tool.
The image is present as an inline data URL in the turn payload, but no local attachment path is created. Claw receives only the remote_img_<uuid> identifier and the tool treats it as a workspace-relative path.
Environment
- BitFun: 0.2.17 (macOS Apple Silicon)
- Channel: built-in WeChat gateway / Claw
- Primary model: GLM-5.3 (text-only; image inputs disabled)
- Reproduced: 2026-08-18
Steps to reproduce
- Configure a Claw session with a text-only primary model.
- Send a JPEG image to the Claw bot through WeChat.
- Let Claw try to inspect or describe the image.
Actual behavior
The image is received and displayed in the BitFun transcript, but Claw calls:
analyze_image(path="remote_img_<uuid>")
and fails with:
unable to locate image at <workspace>/remote_img_<uuid>: No such file or directory
The gateway logs show a successful CDN request immediately before the turn starts. The turn payload contains a valid data:image/jpeg;base64,... value, so the media download itself is not the failing step.
Expected behavior
One of these should happen:
- Save the downloaded/decoded image in a session-scoped temporary directory and expose its real
image_path; or - Make
analyze_imageaccept the attachment ID / inline data URL directly; or - Route the attachment directly to a configured vision-capable primary model when available.
The current prompt says to use analyze_image when a path is available, but the WeChat adapter only supplies a data URL.
Upstream references
The current implementation still follows this path in 0.2.18:
- WeChat inbound image conversion creates only a data URL.
- Text-only multimodal rendering exposes only an image ID when no path exists.
I have not tested outbound file delivery in this report; this issue is specifically about inbound image inspection from WeChat.
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 236
- Merge medio
- 2h 42m
- PR unite (30g)
- 572
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GCWing/OpenBitFun
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
GCWing/OpenBitFun#3213 · 1 commento ·
I maintainer di solito rispondono entro 8 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
GCWing/OpenBitFun#2363 ·
I maintainer di solito rispondono entro 8 giorni
-
question
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
GCWing/OpenBitFun#2340 ·
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
GCWing/OpenBitFun#3229 ·
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GCWing/OpenBitFun#3226 ·
I maintainer di solito rispondono entro 8 giorni
Tutte le issue di GCWing/OpenBitFun
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Docs: "Work with Codex from anywhere" page still claims Windows mobile support is "coming soon"Apertaapp documentation remote windows-os
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oxidecomputer/dendrite#380 ·
I maintainer di solito rispondono entro 5 giorni
-
area:cli bug good first issue priority:high
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
rtk-ai/rtk#4249 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno