Skip to content

Commit

Permalink
fix: api_key attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
siiddhantt committed Jan 18, 2025
1 parent 904b0bf commit 4a331db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/llm/google_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class GoogleLLM(BaseLLM):
def __init__(self, api_key=None, user_api_key=None, *args, **kwargs):
super().__init__(*args, **kwargs)
self.client = genai.Client(api_key="AIzaSyDmbZX65qlQKXcvfMBkJV2KwH82_0yIMlE")
self.client = genai.Client(api_key=api_key)

Check warning on line 11 in application/llm/google_ai.py

View check run for this annotation

Codecov / codecov/patch

application/llm/google_ai.py#L11

Added line #L11 was not covered by tests

def _clean_messages_google(self, messages):
cleaned_messages = []
Expand Down

0 comments on commit 4a331db

Please sign in to comment.