Repository navigation
docs(openrouter-decisions): sync with openrouter-web changes - #218
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Decisions requests can now carry documents. A
filepart (same shape as Chat Completions) in the top-levelstatearray is passed to the provider's document input on models that listfileininput_modalities. Right now that is onlyscaledown/classify-1. Models that don't list it reject the request with a400capability mismatch. The multimodal decisions guide has a new "Document parts" section for this.references/decisions-api.md, in the section renamed to "Images, Documents, and Box":{ "type": "file", "file": { "file_data": "data:application/pdf;base64,...", "filename": "invoice.pdf" } }GET /api/v1/models?output_modalities=decisions&input_modalities=file.application/pdf/image/jpeg/image/png/image/tiff. Animage_urlpart counts as that document. Remote URLs, Office files, or a second item return400.file, audio, or video input reject those parts with a400capability mismatch.models.tscounts afilepart's base64 as text in its fit estimate, so its verdict for these requests is only a rough upper bound.SKILL.md: the pointer to the reference now says "sending images or documents".Checked against the live
/api/v1/modelscatalog and the published guide.🟢 Devin Review found nothing to fix · View findings