Skip to content
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

Removing OAuth from tuning for REST #579

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

shilpakancharla
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:python sdk Issue/PR related to Python SDK labels Oct 1, 2024
Copy link
Member

@pcoet pcoet left a comment

Choose a reason for hiding this comment

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

LGTM, except for the API key. Thanks!

samples/rest/tuned_models.sh Outdated Show resolved Hide resolved
Change-Id: I639aa453699766bf31f7722a59f4157a53cf7de4
@@ -1,14 +1,11 @@
set -eu

access_token=$(gcloud auth application-default print-access-token)

GOOGLE_API_KEY=AIzaSyB1bw8ghsEm65evO_Yn9CeorYEh2oDEw-M
Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert this line.

Use environment variables to avoid this. Put:

export GOOGLE_API_KEY=...

In your ~/.bash_profile file.

@MarkDaoust MarkDaoust merged commit 8f77cc6 into google-gemini:main Oct 1, 2024
9 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:python sdk Issue/PR related to Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants