docs(openrouter-images): sync with openrouter-web changes#85
docs(openrouter-images): sync with openrouter-web changes#85devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…d --provider flag Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Original prompt from Automation
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Summary
The Image API now accepts provider routing preferences on the request
providerobject —only,order,ignore,sort,allow_fallbacks— alongside the existingprovider.optionspassthrough, and reports the serving provider via theX-Provider-Nameresponse header (openrouter-web #27882).SKILL.md: new Provider Routing section with the five routing fields, an example, and theX-Provider-Namenote;--provider <json>added to the flags table.scripts/lib.ts:buildImageParamsnow merges--providerrouting prefs with--provider-optionsinto a singleproviderobject:generate.ts/edit.tsusage strings mention the new flag.Verified locally:
buildImageParamsproduces the mergedproviderobject and still emits{}when neither flag is passed.Link to Devin session: https://openrouter.devinenterprise.com/sessions/4266e919966846789498b318fa675725