mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix(pi): stop history image reinjection token blowup
This commit is contained in:
@@ -232,6 +232,10 @@ await session.prompt(effectivePrompt, { images: imageResult.images });
|
||||
|
||||
The SDK handles the full agent loop: sending to LLM, executing tool calls, streaming responses.
|
||||
|
||||
Image injection is prompt-local: OpenClaw loads image refs from the current prompt and
|
||||
passes them via `images` for that turn only. It does not re-scan older history turns
|
||||
to re-inject image payloads.
|
||||
|
||||
## Tool Architecture
|
||||
|
||||
### Tool Pipeline
|
||||
|
||||
Reference in New Issue
Block a user