Skip to content

refactor(ai-logic): simplify samples categories#2791

Open
thatfiredev wants to merge 23 commits into
masterfrom
rpf/refactor-categories
Open

refactor(ai-logic): simplify samples categories#2791
thatfiredev wants to merge 23 commits into
masterfrom
rpf/refactor-categories

Conversation

@thatfiredev
Copy link
Copy Markdown
Member

@thatfiredev thatfiredev commented May 19, 2026

This PR should:

  • Simplify the categories we have: Gemini 3, Nano Banana, Multimodal understanding, Tools and function calling, Live API streaming, Server prompt templates and Hybrid inference.
  • Introduce new samples for Nano Banana 2 (preview) and Nano Banana Pro (preview).
  • Update the SVG generator to use Gemini 3.5 Flash with Thinking Level High.
  • Remove the Gemini 2.5 Flash example
  • Remove the "Travel tips" and "Chatbot recommendations for courses" samples

Preview

result

…rpf/refactor-categories

# Conflicts:
#	firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/ui/navigation/FirebaseAISamples.kt
…rpf/refactor-categories

# Conflicts:
#	firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/ui/navigation/FirebaseAISamples.kt
#	firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/ui/navigation/Sample.kt
Keeps it Simple :)
@thatfiredev thatfiredev requested a review from rlazo May 19, 2026 20:56
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

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 reorganizes the sample application by updating model versions to Gemini 3.1, 3.5, and 3 Pro, rebranding image features under the "Nano Banana" name, and restructuring navigation categories. UI enhancements were made to the MainMenuScreen, and SvgViewModel now includes logic to strip markdown from responses. Feedback points out an unused Log import and dead code in the navigation parameters. Additionally, suggestions were made to fix the alignment of filter chips and to implement a more robust method for cleaning SVG strings.

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