Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug] WeChat inbound images are downloaded but inaccessible to Claw analyze_image

Aperta
#2,358 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
rust
Ambito
ai, backend

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

bug

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

  1. Configure a Claw session with a text-only primary model.
  2. Send a JPEG image to the Claw bot through WeChat.
  3. 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_image accept 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:

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GCWing/OpenBitFun

Tutte le issue di GCWing/OpenBitFun

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.