Skip to content

docs: update GenUI references in Get Started guide#13527

Open
victoreronmosele wants to merge 1 commit into
flutter:mainfrom
victoreronmosele:fix/update-genui-references
Open

docs: update GenUI references in Get Started guide#13527
victoreronmosele wants to merge 1 commit into
flutter:mainfrom
victoreronmosele:fix/update-genui-references

Conversation

@victoreronmosele

@victoreronmosele victoreronmosele commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR updates the GenUI references in the Get Started guide.

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

@victoreronmosele victoreronmosele force-pushed the fix/update-genui-references branch from 16cb00f to 154869e Compare June 22, 2026 15:05
@victoreronmosele victoreronmosele changed the title docs: update GenUI references in Get Started guide WIP | docs: update GenUI references in Get Started guide Jun 22, 2026
@victoreronmosele victoreronmosele force-pushed the fix/update-genui-references branch 2 times, most recently from 5d4092d to 30bd9ff Compare June 22, 2026 17:53
@victoreronmosele victoreronmosele marked this pull request as ready for review June 22, 2026 17:54
@victoreronmosele victoreronmosele requested review from a team and sfshaza2 as code owners June 22, 2026 17:54
@victoreronmosele victoreronmosele changed the title WIP | docs: update GenUI references in Get Started guide docs: update GenUI references in Get Started guide Jun 22, 2026

@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 the documentation in 'get-started.md' to align with recent API changes in the 'genui' and 'firebase_ai' packages, including updated dependency names, simplified model and chat message initializations, and revised widget builder signatures. The review feedback correctly points out that the 'highlightLines' parameter on a code block needs to be updated to reflect the shifted lines.

@@ -788,12 +781,14 @@ a system instruction for the agent with the line
```dart highlightLines=4-5

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.

medium

The highlightLines parameter is still set to 4-5, but because of the addition of systemPromptFragments: [ on line 784, the lines to highlight have shifted. It should be updated to 5-6 to correctly highlight the system instruction lines.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Agreed. Updating.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@victoreronmosele victoreronmosele force-pushed the fix/update-genui-references branch from 30bd9ff to eda30d5 Compare June 22, 2026 18:03
@victoreronmosele victoreronmosele force-pushed the fix/update-genui-references branch from eda30d5 to 1b1aadf Compare June 22, 2026 18:04
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