Skip to content

Address PR feedback for Agent Platform - #1867

Merged
paulb777 merged 1 commit into
mainfrom
address-firebaseai-feedback-v2
Aug 13, 2026
Merged

Address PR feedback for Agent Platform#1867
paulb777 merged 1 commit into
mainfrom
address-firebaseai-feedback-v2

Conversation

@paulb777

@paulb777 paulb777 commented Aug 4, 2026

Copy link
Copy Markdown
Member

Addresses feedback regarding the new Agent Platform syntax:

  • Removes the location parameter for .agentPlatform() where it is not needed.
  • Updates the Google AI string to 'Gemini Developer API'.
  • Keeps the explicitly set location for Live model as 'us-central1' and model name unchanged.

@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 updates several view models in the FirebaseAIExample app to use the default .agentPlatform() backend initialization instead of explicitly passing the location: "global" parameter. Additionally, it renames the googleAI case display name in BackendOption from "Google AI" to "Gemini Developer API". I have no feedback to provide as there are no review comments.

enum BackendOption: String, CaseIterable, Identifiable {
case googleAI = "Google AI"
case googleAI = "Gemini Developer API"
case agentPlatform = "Agent Platform Gemini API"

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.

Should this be Gemini Enterprise Agent Platform? (I can't remember if there's enough space on screen for that text though.)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is consistent with docs and SDKs


enum BackendOption: String, CaseIterable, Identifiable {
case googleAI = "Google AI"
case googleAI = "Gemini Developer API"

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.

SGTM, I think it'll be more straightforward for devs to match it up with the text in the Console.

@paulb777
paulb777 merged commit e6583fb into main Aug 13, 2026
18 checks passed
@paulb777
paulb777 deleted the address-firebaseai-feedback-v2 branch August 13, 2026 04:57
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