[GH-ISSUE #1340] slurp2: "Image prompt rewrite unusable" warning does not say what failed #687

Closed
opened 2026-10-20 17:29:45 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Gunterlie on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1340

Originally assigned to: @Gunterlie on GitHub.

Players see this server warning and cannot tell why the rewrite failed:

[slurp] Image prompt rewrite unusable (the rewrite did not run or returned nothing (check the agent text connection)); sending the capped draft

rewriteSlpImagePrompt returns null for many different causes (empty answer, answer cut off at the token limit, invalid JSON, JSON without a prompt field, no text connection, request error), and the callers also turn a rewrite rejected for breaking the scene's content level into null. Every case ends in the same generic message.

Expected: the warning names the cause, with a short quote of the answer and the model where that helps.

Originally created by @Gunterlie on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1340 Originally assigned to: @Gunterlie on GitHub. Players see this server warning and cannot tell why the rewrite failed: ``` [slurp] Image prompt rewrite unusable (the rewrite did not run or returned nothing (check the agent text connection)); sending the capped draft ``` `rewriteSlpImagePrompt` returns `null` for many different causes (empty answer, answer cut off at the token limit, invalid JSON, JSON without a `prompt` field, no text connection, request error), and the callers also turn a rewrite rejected for breaking the scene's content level into `null`. Every case ends in the same generic message. **Expected:** the warning names the cause, with a short quote of the answer and the model where that helps.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#687
No description provided.