mirror of
https://github.com/usestrix/strix.git
synced 2026-09-05 08:06:08 +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.
This commit is contained in:
parent
2301782447
commit
b0a7237605
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