-
Notifications
You must be signed in to change notification settings - Fork 270
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
Why does generate_content against a tuned model require transport='grpc' #522
Comments
Thanks for the report Linda.
Hmmm....
I'm not sure about most of these steps, but it's possible that:
While I wait for tuning to wake up could you confirm any of those other points? |
Let me know if you want my tuning sample its basically the one from the docs though. Note im just testing so just use the sample tuned data. PS: didnt know you could do checkboxes in Git markdown. #cool |
I think this all fits my interpretation of what's going wrong here.
That sets the ADC as the default credentials.
Because the API can't take both the ADC and an API key at the same time. It has to choose one or the other.
ADC works for Tuned Models, API key doesn't.
When you call
It doesn't have anything to do with actually switching between rest and grpc, just clearing the api-key from the config: Steps to reproduce: https://colab.research.google.com/drive/1C8nKL6cKjrwGom_Ye3ssB2iqw7gQyB4T?usp=sharing |
Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs. |
Description of the bug:
When Accessing a tuned model i need to configure grcp.
Why is this needed
Actual vs expected behavior:
I am really just curious its more of a question then a bug.
full error stacktrace
Any other information you'd like to share?
My full sample
The text was updated successfully, but these errors were encountered: