Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add litellm model #2356

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
cleanup
kausmeows committed Mar 11, 2025
commit a670bc953bef52f865fbd3acb0fd9fe3ba7be74c
2 changes: 0 additions & 2 deletions libs/agno/agno/models/litellm/litellm_chat.py
Original file line number Diff line number Diff line change
@@ -190,7 +190,6 @@ def parse_provider_response(self, response: Any) -> ModelResponse:
"total_tokens": response.usage.total_tokens
}

model_response.raw = response
return model_response

def parse_provider_response_delta(self, response_delta: Any) -> ModelResponse:
@@ -216,5 +215,4 @@ def parse_provider_response_delta(self, response_delta: Any) -> ModelResponse:
}
})

model_response.raw = response_delta
return model_response