Skip to content

Update FirebaseAI backend to Agent Platform - #1447

Merged
AustinBenoit merged 1 commit into
masterfrom
am-ai_update
Aug 13, 2026
Merged

Update FirebaseAI backend to Agent Platform#1447
AustinBenoit merged 1 commit into
masterfrom
am-ai_update

Conversation

@a-maurice

Copy link
Copy Markdown
Contributor

Update with the latest changes, to use the Agent Platform backend instead of the now deprecated VertexAI backend.

@a-maurice
a-maurice requested a review from AustinBenoit August 13, 2026 17:18

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates UIHandler.cs to make InitializeAppCheck a virtual method and transitions the backend option from 'Vertex AI' to 'Agent Platform'. The review feedback suggests marking the backendChoices array as readonly to prevent accidental reassignments and improve maintainability.


private int backendSelection = 0;
private string[] backendChoices = new string[] { "Google AI Backend", "Vertex AI Backend" };
private string[] backendChoices = new string[] { "Google AI Backend", "Agent Platform Backend" };

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The backendChoices array is only initialized and never reassigned. Marking it as readonly is a good practice to prevent accidental reassignments and improve maintainability.

    private readonly string[] backendChoices = new string[] { "Google AI Backend", "Agent Platform Backend" };

@AustinBenoit
AustinBenoit merged commit e9a9b70 into master Aug 13, 2026
11 checks passed
@a-maurice
a-maurice deleted the am-ai_update branch August 13, 2026 20:26
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.

2 participants