mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
refactor(gemini.py): fix linting issue
This commit is contained in:
parent
e70a5a8970
commit
3d0ea08f77
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
Reference in a new issue