feat: Add Google vertex provider support (CONFLICTED) #3136
+1,512
−996
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.
Relates to
N/A
Risks
Medium. Potential integration issues with Google Vertex AI authentication and API limits.
Background
What does this PR do?
Adds Google Vertex AI support as a model inference provider.
What kind of change is this?
Features (non-breaking change which adds functionality)
Why are we doing this? Any context or related work?
It adds ability to use models deployed on Google Vertex
Documentation changes needed?
My changes require a change to the project documentation to include setup and configuration details for Google Vertex AI integration.
Testing
Where should a reviewer start?
.env
file.Detailed testing steps
Set up Google Vertex AI in your Google Cloud project.
Add the required Google Vertex AI environment variables in your
.env
file (refer to.env.example
):GOOGLE_VERTEX_KEY
,GOOGLE_VERTEX_EMAIL
,GOOGLE_VERTEX_LOCATION
, andGOOGLE_VERTEX_PROJECT
from the Google Cloud service account JSON file that you download when setting up your credentials.Update a character file and add:
Run:
In another terminal, start the client:
Access
localhost:5173
and request an image generation from your agent.Discord username
luenai