Could someone here help me setup LLM in open-hands...
# dev-help
n
Could someone here help me setup LLM in open-hands? I've run it on server in docker container, everything seems to work until except LLM. I'm trying to use codestral API key with chat endpoint they gave me but it doesn't work. I've tried it with advanced settings and their link and open-hand preset on codestral-latest, both returned same error
c
We use litellm to support models, and according to litellm docs, could you try
codestral/codestral-latest
? Instead of mistral-ai/
In this case, I think you shouldn't need a base URL
n
I've used codestral-latest with my API key but it returned same error, although I've done that in GUI settings I'm not sure if it makes any difference
c
What prefix have you used?
I mean,
codestral/
and then the model name, or
mistral-ai/
and then the model name? Your screenshot shows the second. Please try the first
n
There's no "codestral" model in dropdown menu they all have some number or additional words but on Mistral AI website it doesn't give me any choice either, you can't choose model or anything you just get API key and that's it, so I've tried "advanced" settings and put in model name 'codestral' my API key and chat endpoint url that's on the screenshot but it returned same error
c
Could you please use Advanced settings, and: • model name:
codestral/codestral-latest
• the api key • nothing else, no chat URL, no URL at all
n
Alright I'll try it once I get back from work, thanks
It worked! 😁 Thanks a million
np 1