captain-nemo

Results 3 comments of captain-nemo

Same here! I've set the keys correctly in the .env file and can verify they are loaded using "docker-compose exec litellm env | grep MASTER_KEY". Still I keep getting "{"error":{"message":"Invalid...

> curl --location 'http://localhost:4000/user/new' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data-raw '{"user_email": "[email protected]", "user_id": "admin"}' This was the only solution that made it work for me!

The API base url is set to **https://api.openai.com/v1/** This should be **https://api.x.ai/v1** When adding e.g. an OpenAI model, you can edit the base url via the UI, but for xAI...