Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
sydp committed Dec 22, 2024
1 parent 9120956 commit d539357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dftimewolf/lib/processors/llmproviders/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _configure(self) -> None:
if api_key:
genai.configure(api_key=api_key)
elif self.options.get('sa_path'):
with open(self.options.get('sa_path'), 'r') as sa_file:
with open(str(self.options.get('sa_path')), 'r') as sa_file:
sa_content = json.loads(sa_file.read())
sa_credential = (
service_account.Credentials.from_service_account_info(
Expand Down

0 comments on commit d539357

Please sign in to comment.