feat: Update model registry to match TEE gateway#266
Merged
Conversation
Collaborator
kylexqian
commented
Apr 9, 2026
- Remove gemini-3-pro-preview (shut down in March 2026)
- Add some notes that the gemini-2.5-X series will be shut deprecated in Jun of this year and should be replaced with the gemini-3.1-X series
Added structured output support for chat. Tested all model providers + streaming. We now also include the usage as part of the TextGenerationOutput. This was nice because it led to finding a bug in usage reporting for gemini in streaming. Unit tests included as well
…deprecations gemini-3-pro-preview was shut down on March 9, 2026 and was already absent from the TEE gateway model registry. Removes it from the SDK enum to keep both in sync. Also adds comments on the Gemini 2.5 models (flash, pro, flash-lite) noting their scheduled June/July 2026 deprecation dates and their respective replacements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Kyle Qian <kylexqian@gmail.com>
adambalogh
approved these changes
Apr 9, 2026
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.