Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ionic-bond committed Feb 24, 2024
1 parent d482bb4 commit 3b69fdf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llm_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def _translate_gy_gemini(self, translation_task: TranslationTask):
translation_task.translated_text = response.text
except (ValueError, InternalServerError) as e:
print(e)
print(response.candidates[0].finish_reason)
return
if self.history_size:
self._append_history_message(user_content, translation_task.translated_text)
Expand Down

0 comments on commit 3b69fdf

Please sign in to comment.