Skip to content

EAISCRUM-1522-change-gemini-key #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed

Conversation

Daggx
Copy link
Contributor

@Daggx Daggx commented Jun 11, 2024

No description provided.

@Daggx Daggx requested a review from KyrianC June 11, 2024 13:13
@@ -51,3 +53,5 @@ def __init__(self, api_keys: Dict = {}):
aiplatform.init(
project=self.project_id,
)

genai.configure(api_key=self.api_settings.get("genai_api_key"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this raise an error if "genai_api_key" is None?
This might cause an error for all user already using google with their own api key.
It would force all user to get a genai key to be able to use google

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would not raise an error if it's None

@Daggx Daggx closed this Jun 19, 2024
@Daggx Daggx deleted the EAISCRUM-1522-change-gemini-key branch June 19, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants