BerriAI / litellm

Python SDK, Proxy Server (LLM Gateway) to call 100+ LLM APIs in OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
14.09k stars 1.67k forks source link

Facing API Connection Error when trying to use custom api endpoint with litellm #6111

Open SurajN0051 opened 1 month ago

SurajN0051 commented 1 month ago

I have been trying to use crewai using a custom api endpoint and a custom model but i have been facing - APIConnectionError: litellm.APIConnectionError: CustomException - Expecting value: line 1 column 1 (char 0) . I have specified the headers correctly and provided the correct base url and key but still facing the same issue .

Screenshot 2024-10-08 132239

I am new here and this is my first query here so please bear with me

hookenful commented 2 weeks ago

same error, can someone help?