Skip to content

chore(vertexai): Decommission code for vertexai generate text input - #5661

Open
amcolin wants to merge 3 commits into
GoogleCloudPlatform:mainfrom
amcolin:decommission-vertex-generate-text-input
Open

chore(vertexai): Decommission code for vertexai generate text input#5661
amcolin wants to merge 3 commits into
GoogleCloudPlatform:mainfrom
amcolin:decommission-vertex-generate-text-input

Conversation

@amcolin

@amcolin amcolin commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Description

Remove code that is using a decommissioned library, vertexai/genai, which also has no references in the documentation.
Fixes Internal b/537361957

Checklist

  • I have followed Contributing Guidelines from CONTRIBUTING.MD
  • Tests pass: go test -v ./.. (see Testing)
  • Code formatted: gofmt (see Formatting)
  • Vetting pass: go vet (see Formatting)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jul 28, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the generateContentFromText snippet and its corresponding unit test TestTextInput. There are no review comments, so I have no feedback to provide.

@Kef131 Kef131 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reference of deleted files on CS. Standard update for upgrade gemini model

@angelcaamal angelcaamal left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@XrossFox XrossFox left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@amcolin
amcolin marked this pull request as ready for review July 29, 2026 20:38
@amcolin
amcolin requested review from a team as code owners July 29, 2026 20:38
@snippet-bot

snippet-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to delete 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants