Skip to content

feat(ai): add Google Vertex AI provider#6172

Open
Taitranz wants to merge 1 commit intoEffect-TS:next-minorfrom
Taitranz:feat/google-vertex-provider
Open

feat(ai): add Google Vertex AI provider#6172
Taitranz wants to merge 1 commit intoEffect-TS:next-minorfrom
Taitranz:feat/google-vertex-provider

Conversation

@Taitranz
Copy link
Copy Markdown

@Taitranz Taitranz commented Apr 13, 2026

Summary

  • Adds @effect/ai-google-vertex — Google Vertex AI provider
  • Reuses prompt conversion, response parsing, and tool logic from @effect/ai-google (same Gemini wire format)
  • Adds GCP-specific Bearer token auth, project/location URL construction, and v1/v1beta1 API version support
  • Exports prepareMessages, makeResponse, makeStreamResponse, prepareTools, jsonSchemaToOpenApiSchema, and resolveFinishReason from @effect/ai-google/GoogleLanguageModel to enable reuse

Split from #6165 per @IMax153's request to target v4.

Test plan

  • Verify package builds successfully
  • Verify language model implementation works against Google Vertex AI API
  • Verify shared exports from @effect/ai-google/GoogleLanguageModel are correctly exposed

@Taitranz Taitranz requested a review from IMax153 as a code owner April 13, 2026 19:48
@github-project-automation github-project-automation bot moved this to Discussion Ongoing in PR Backlog Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

1 participant