web-ui icon indicating copy to clipboard operation
web-ui copied to clipboard

Add OpenRouter as provider

Open DaWe35 opened this issue 9 months ago • 6 comments

I just did it for myself, feel free to close if you don't want it.

  • Added OpenRouter as provider
  • Fixed Moonshot env var getter (I don't know why it was different, needs review)

Models list was downloaded from https://openrouter.ai/api/v1/models and parsed with https://www.devtoolsdaily.com/jq_playground/ with [.data[].id] expression.

image

DaWe35 avatar Mar 20 '25 21:03 DaWe35

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 20 '25 21:03 CLAassistant

Please remove langchain>=0.1.12 in requirements.txt, langchain should have been included in browser-use

warmshao avatar Mar 27 '25 00:03 warmshao

Please remove langchain>=0.1.12 in requirements.txt, langchain should have been included in browser-use

Yeah, I'm sorry for basing this PR on #425, I though it will be a no brainier. I'll clear this up when it gets resolved

DaWe35 avatar Mar 27 '25 21:03 DaWe35

Great! the new version have made a big update, please solve the conflict and merge into it

warmshao avatar May 04 '25 00:05 warmshao

@warmshao what should I do with https://github.com/browser-use/web-ui/pull/425 ?

DaWe35 avatar May 05 '25 18:05 DaWe35

@warmshao what should I do with #425 ?

please try the new code

vvincent1234 avatar May 11 '25 00:05 vvincent1234