Skip to content

docs(openrouter-decisions): sync with openrouter-web changes - #218

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1794330163-update-openrouter-decisions
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1794330163-update-openrouter-decisions

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Decisions requests can now carry documents. A file part (same shape as Chat Completions) in the top-level state array is passed to the provider's document input on models that list file in input_modalities. Right now that is only scaledown/classify-1. Models that don't list it reject the request with a 400 capability 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" } }
  • How to find document-capable models: GET /api/v1/models?output_modalities=decisions&input_modalities=file.
  • ScaleDown limits: one document per request, base64 data URL only, application/pdf / image/jpeg / image/png / image/tiff. An image_url part counts as that document. Remote URLs, Office files, or a second item return 400.
  • Models without file, audio, or video input reject those parts with a 400 capability mismatch.
  • models.ts counts a file part'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/models catalog and the published guide.


🟢 Devin Review found nothing to fix · View findings

Devin Review

@devin-ai-integration

devin-ai-integration Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants