Repository navigation
docs(openrouter-decisions): sync with openrouter-web changes - #195
devin-ai-integration[bot] wants to merge 7 commits into
Conversation
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
Original prompt from Automation
|
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
…parts Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…and ignored assets map Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…te-openrouter-decisions
…mage 400s Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Summary
2026-10-28 update
Synced with openrouter-web#54599, which makes OpenRouter accept TypeSafe's
assetsmap and asset references in Decisions requests. This replaces the "assets is ignored" note from the 10-20 update. The image bullet inreferences/decisions-api.mdnow says:assetsmap is accepted. Each entry is{ type?: "image", format: "png" | "jpg" | "jpeg", data_base64 }with nodata:prefix, and its key is written where the image belongs. If an asset is never referenced instate,instructions, orcriteria, the request fails with a 400.image_urlparts andassetscan be mixed in one request.assetsexactly as sent and matches references inside longer text, so use UUID-style references. Other models resolve a reference only when it is the whole string of a top-levelstateitem.stateobjects,instructions, orcriterianow fails with a 400 (before, it was read silently as text).scripts/lib.tsstill rejectsassets(itsREQUEST_KEYSdoesn't include it), so the doc tells readers to send asset requests from their own client.Also merged
main(#198, #202) into the branch.2026-10-20 update
Synced with openrouter-web#53095, which documents every position where Jev reads image parts.
references/decisions-api.mdimage bullet now says:instructionsonly wheninstructionsis an array or object. In criteria it reads Noultrue/false, Choice option values, and Score levels.["Compare", <image part>, "with the badge"]. An image reference written inside a string reaches Jev as plain text.A top-level(superseded by the 10-28 update)assetsmap of named references, as in TypeSafe's own API, is currently ignored, so Jev never sees those images.Link to Devin session: https://openrouter.devinenterprise.com/sessions/5d5b1d5c17cb451680ecadd928fafa30
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/5d5b1d5c17cb451680ecadd928fafa30?variant=devin
2026-10-15 update
Synced with openrouter-web#51219 (Jev docs) and #51204 (TypeSafe first-party adapter):
typesafe/jev-1.14adds a fourth primitive,box, and reads images.references/decisions-api.md: box question and answer shapes, no "not found" answer (pair with anoul), early-feature caveat; Jev reads only png/jpeg but also reads image parts nested anywhere instateand ininstructions/criteria.SKILL.mdstep 2: when a judgment is abox.scripts/lib.ts:BoxQuestion/BoxAnswertypes;parseRequestacceptsbox(rejectscriteriaon it) and response parsing validates the four finite edges. Checked locally withbun.Link to Devin session: https://openrouter.devinenterprise.com/sessions/b72ed27d0640491681f7d2cb82a73de2
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/b72ed27d0640491681f7d2cb82a73de2?variant=devin