We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug We've added support for Gemini chat model via VertexAI in the backend but the corresponding frontend changes are missing.
Expected behavior User should be allowed to select Vertex and Gemini as a model.
Screenshots
Refer
agentcloud/agent-backend/src/models/mongo.py
Line 29 in e19ff6c
The text was updated successfully, but these errors were encountered:
@anada10 I remember now, this wasn't made available in frontend yet because vertex only takes credentials from an environment variable. We can't support users providing their own credentials: https://python.langchain.com/v0.2/docs/integrations/chat/google_vertex_ai_palm/#credentials
Sorry, something went wrong.
@tomlynchRNA what if we use OAUTH for GCP instead?
@anada10 I don't think so, it has to be the credentials (like credentials json). They make it pretty clear in their docs/code comments:
But good news, I checked the ChatVertexAI source code in Google repo and found this:
https://github.com/langchain-ai/langchain-google/blob/main/libs/vertexai/langchain_google_vertexai/chat_models.py#L648C9-L648C17
So, turns out there is an undocumented option to pass the credentials directly just like other models 😄
We need an update in the webapp and agent-backend to pass credentials, project and location:
credentials
project
location
cc @charl3sj
tomlynchRNA
No branches or pull requests
Describe the bug
We've added support for Gemini chat model via VertexAI in the backend but the corresponding frontend changes are missing.
Expected behavior
User should be allowed to select Vertex and Gemini as a model.
Screenshots
Refer
agentcloud/agent-backend/src/models/mongo.py
Line 29 in e19ff6c
The text was updated successfully, but these errors were encountered: