Skip to content

refactor(ai)!: remove deprecated vertexAI APIs - #16689

Merged
paulb777 merged 1 commit into
mainfrom
remove-deprecated-vertexai
Sep 23, 2026
Merged

paulb777 merged 1 commit into
mainfrom
remove-deprecated-vertexai

Conversation

@paulb777

Copy link
Copy Markdown
Member

This pull request completes the transition from vertexAI to enterprise by completely removing the deprecated Backend.vertexAI() and Backend.vertexAI(location:) APIs.

Changes

  • Removed the vertexAI initialization methods from Backend.swift
  • Cleaned up deprecated vertexAI unit tests from BackendTests.swift, APITests.swift, and VertexComponentTests.swift
  • Appended a breaking change note to the 13.0.0 section of the CHANGELOG
@gemini-code-assist

Copy link
Copy Markdown
Contributor
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@paulb777

Copy link
Copy Markdown
Member Author

/gemini review

@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 deprecated Backend.vertexAI() and Backend.vertexAI(location:) methods from the public API, updating the changelog and removing associated unit tests. However, in VertexComponentTests.swift, the documentation comments for the deleted test methods were left behind and are now piled up above testEnterpriseInstanceCreation_defaultApp. These orphaned comments should be removed to keep the codebase clean.

@paulb777
paulb777 force-pushed the remove-deprecated-vertexai branch from 990a700 to 8170d4a Compare September 23, 2026 16:20
@paulb777 paulb777 changed the title docs(ai): remove deprecated vertexAI APIs Sep 23, 2026
@paulb777

Copy link
Copy Markdown
Member Author

Will merge here and address any additional feedback in a subsequent PR

@paulb777
paulb777 merged commit 2c81ae0 into main Sep 23, 2026
63 checks passed
@paulb777
paulb777 deleted the remove-deprecated-vertexai branch September 23, 2026 18:51
andrewheard added a commit that referenced this pull request Oct 5, 2026
Revert commit dd2cfa8 (#16685) to undo
the renaming from Gemini Enterprise Agent Platform to Gemini Enterprise
API.

- Restore Backend.agentPlatform(location:) as the primary public API
  and remove Backend.enterprise(location:).
- Revert APIConfig.Service.enterprise to .agentPlatform and restore
  agentPlatformStagingBypassProxy.
- Revert documentation comments, DocC topics, and guides back to
  Agent Platform Gemini API and Gemini Enterprise Agent Platform.
- Clean up leftover Vertex AI symbols to align with Agent Platform and
  FirebaseAILogic (isFirebaseAILogicServiceDisabledError and
  defaultAgentPlatformAPIConfig).
- Re-align tests and conflict resolutions from #16689, #16693, #16676,
  and #16756.
andrewheard added a commit that referenced this pull request Oct 6, 2026
This is a cherrypick of #16846 into release-13.0.

Revert commit dd2cfa8 (#16685) to undo
the renaming from Gemini Enterprise Agent Platform to Gemini Enterprise
API.

- Restore Backend.agentPlatform(location:) as the primary public API
  and remove Backend.enterprise(location:).
- Revert APIConfig.Service.enterprise to .agentPlatform and restore
  agentPlatformStagingBypassProxy.
- Revert documentation comments, DocC topics, and guides back to
  Agent Platform Gemini API and Gemini Enterprise Agent Platform.
- Clean up leftover Vertex AI symbols to align with Agent Platform and
  FirebaseAILogic (isFirebaseAILogicServiceDisabledError and
  defaultAgentPlatformAPIConfig).
- Re-align tests and conflict resolutions from #16689, #16693, #16676,
  and #16756.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants