Fix deprecated Gemini image model references#783
Open
grantf04 wants to merge 1 commit into
Open
Conversation
Contributor
|
@grantf04 is attempting to deploy a commit to the Merit Systems Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
The failing Vercel statuses are fork-deploy authorization prompts from the Merit Systems team, not code/test failures. Local verification from the PR body is green for the affected SDK path: install/prepare build, SDK type-check, SDK build, SDK tests, and Prettier check all completed locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #634
/claim #634
Summary
gemini-2.0-flash-preview-image-generationandgemini-2.5-flash-image-previewfrom the TypeScript SDK Gemini model union/listgemini-2.5-flash-imagemodelVerification
pnpm install(repo prepare build completed successfully; the example postinstall has an existing swallowednpm dedupeworkspace-protocol warning)pnpm -C packages/sdk/ts run type-checkpnpm --filter @merit-systems/echo-typescript-sdk run buildpnpm -C packages/sdk/ts run test -- --runInBandpnpm exec prettier --check packages/sdk/ts/src/supported-models/chat/gemini.ts packages/tests/provider-smoke/gemini-generate-text.test.ts templates/next-image/src/app/api/edit-image/google.ts templates/next-image/src/app/api/generate-image/google.tsNote:
templates/next-imageis not included inpnpm-workspace.yaml, sopnpm -C templates/next-image run buildcannot run from the root install becausenextis not installed for that standalone template.