The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(databricks.py): fix error handling
Krrish Dholakiae163914b5706
diff --git a/litellm/llms/databricks.py b/litellm/llms/databricks.pyindex 0567e6e0532..0c5509a711e 100644--- a/litellm/llms/databricks.py+++ b/litellm/llms/databricks.py@@ -333,7 +333,7 @@ class DatabricksChatCompletion(BaseLLM):except httpx.HTTPStatusError as e:raise DatabricksError(status_code=e.response.status_code,- message=response.text if response else str(e),+ message=e.response.text,)except httpx.TimeoutException as e:raise DatabricksError(status_code=408, message="Timeout error occurred.")