mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
refactor(gemini.py): fix linting issue
This commit is contained in:
parent
73ca22dc08
commit
045ece4582
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ def completion(
|
|||
if "SAFETY" in original_response:
|
||||
original_response += "\nThe candidate content was flagged for safety reasons."
|
||||
elif "RECITATION" in original_response:
|
||||
original_response += "\The candidate content was flagged for recitation reasons."
|
||||
original_response += "\nThe candidate content was flagged for recitation reasons."
|
||||
raise GeminiError(
|
||||
status_code=400,
|
||||
message=f"No response received. Original response - {original_response}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue