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
Setting the response model so the cost can be calculated
Eddie Richter0e045e0bb774
diff --git a/litellm/llms/lemonade/chat/transformation.py b/litellm/llms/lemonade/chat/transformation.pyindex 5e675066b0a..a8707cce571 100644--- a/litellm/llms/lemonade/chat/transformation.py+++ b/litellm/llms/lemonade/chat/transformation.py@@ -106,5 +106,8 @@ class LemonadeChatConfig(OpenAILikeChatConfig):api_key=api_key,)+ # Storing lemonade in the model response for easier cost calculation later+ setattr(model_response, "model", "lemonade/" + model)+return model_response\ No newline at end of file