mirror of
https://github.com/usestrix/strix.git
synced 2026-09-07 08:25:56 +00:00
Drop prescriptive guidance from image-rejection placeholder
The replacement text was telling the model "view_image is unsupported on this scan; do not call it again" — which is wrong when the rejection was format-specific (SVG rejected, JPEG would have worked). Shorten to a neutral description of what happened; let the model decide whether to retry with a different format or skip the asset. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7e117bc500
commit
565fd70d08
1 changed files with 1 additions and 4 deletions
|
|
@ -19,10 +19,7 @@ def open_agent_session(agent_id: str, path: Path) -> SQLiteSession:
|
|||
return SQLiteSession(session_id=agent_id, db_path=path)
|
||||
|
||||
|
||||
_IMAGE_REJECTED_TEXT = (
|
||||
"[image rejected by the model — view_image is unsupported on this scan; "
|
||||
"do not call it again, continue without visual inspection]"
|
||||
)
|
||||
_IMAGE_REJECTED_TEXT = "[image rejected by the model]"
|
||||
|
||||
|
||||
async def strip_latest_image_from_session(session: Session) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue