Skip to content

chore(openai): remove dead VertexModels type alias - #7223

Merged
chenghao-mou merged 1 commit into
mainfrom
detail/dead-code/chore-openai-remove-dead-vertexmodels-type-alias-41c4ce
Sep 11, 2026
Merged

chenghao-mou merged 1 commit into
mainfrom
detail/dead-code/chore-openai-remove-dead-vertexmodels-type-alias-41c4ce

Conversation

@detail-app

@detail-app detail-app Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Removed the unused VertexModels Literal type alias from the OpenAI plugin's
models.py. It had zero references anywhere in the codebase (no imports, type
annotations, tests, or __all__ re-exports).

Its only consumer, the LLM.with_vertex() static factory method, was
deliberately removed in commit 4c372d2 ("Update llm.py"), which also dropped
the VertexModels import from llm.py. The Vertex/Gemini feature was
superseded by the dedicated google.LLM() plugin (PR #1382), leaving this type
alias orphaned as a leftover from a removed feature.

History


Dead Code PRs can be configured here.

@detail-app
detail-app Bot requested a review from a team as a code owner September 11, 2026 08:14

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@chenghao-mou
chenghao-mou merged commit bbfcbce into main Sep 11, 2026
26 checks passed
@chenghao-mou
chenghao-mou deleted the detail/dead-code/chore-openai-remove-dead-vertexmodels-type-alias-41c4ce branch September 11, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant