BerriAI / litellm

Python SDK, Proxy Server to call 100+ LLM APIs using the OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
12.02k stars 1.38k forks source link

[Bug]: [Errno 30] Read-only file system: '/app/config/litellm-config.yam when add model via api model/new #2330

Open tungnkhust opened 6 months ago

tungnkhust commented 6 months ago

What happened?

I try to add new model via BE api with endpont: /model/new and get bugs: {'error': {'message': "Authentication Error, [Errno 30] Read-only file system: '/app/config/litellm-config.yaml'", 'type': 'auth_error', 'param': 'None', 'code': 400}}

Relevant log output

No response

Twitter / LinkedIn details

No response

krrishdholakia commented 6 months ago

Hey @tungnkhust looks like the file can't be written to.

Happy to debug this with you and see how we can help.

Attaching my calendly if you have 10 minutes this week - https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat