This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Removing OAuth from tuning for REST#579
Merged
MarkDaoust merged 3 commits intogoogle-gemini:mainfrom Oct 1, 2024
Merged
Conversation
pcoet
approved these changes
Oct 1, 2024
Contributor
pcoet
left a comment
There was a problem hiding this comment.
LGTM, except for the API key. Thanks!
pcoet
approved these changes
Oct 1, 2024
Change-Id: I639aa453699766bf31f7722a59f4157a53cf7de4
MarkDaoust
approved these changes
Oct 1, 2024
samples/rest/tuned_models.sh
Outdated
|
|
||
| access_token=$(gcloud auth application-default print-access-token) | ||
|
|
||
| GOOGLE_API_KEY=AIzaSyB1bw8ghsEm65evO_Yn9CeorYEh2oDEw-M |
Collaborator
There was a problem hiding this comment.
Revert this line.
Use environment variables to avoid this. Put:
export GOOGLE_API_KEY=...
In your ~/.bash_profile file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.