OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

UI is missing claude-3-opus-20240229 option

Open crypdick opened this issue 1 year ago • 4 comments

Describe the bug The README described how one can set the endpoint to use Claude Opus. However, when following those directions, the UI does not display Opus as an option

Steps to Reproduce

  1. Follow README instructions to use Claude Opus
  2. Launch the UI
  3. Opus not available as an option.

Expected behavior Opus available as an option, Opus set as default

Actual behavior Opus not available as an option.

Additional context image

crypdick avatar Mar 29 '24 15:03 crypdick

Looking through the code, the value is missing in frontend/src/services/settingsService.ts

Values availables are given here: https://docs.litellm.ai/docs/providers/anthropic More generally, also here: https://docs.litellm.ai/docs/providers

I can make a PR

rfleuryleveso avatar Mar 29 '24 15:03 rfleuryleveso

👍 PR would be helpful, thanks!

rbren avatar Mar 29 '24 16:03 rbren

I also saw this

PierrunoYT avatar Mar 29 '24 16:03 PierrunoYT

@rfleuryleveso most projects read available models from here: https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json

We also have helpful utils for getting supported providers, when importing / using litellm you will be able to see litellm providers

ishaan-jaff avatar Mar 29 '24 20:03 ishaan-jaff

Should be fixed now: https://github.com/OpenDevin/OpenDevin/pull/370/files

rbren avatar Mar 30 '24 15:03 rbren