Skip to content

Conversation

polina-c
Copy link
Collaborator

@polina-c polina-c commented Sep 12, 2025

  1. Instruct AI to use hotel tool.
  2. Update travel page to stay alive even if it is not visible.
Screenshot 2025-09-12 at 2 26 17 PM

Copy link

@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 introduces hotel searching functionality by adding a ListHotelsTool and integrating it into the TravelPlannerPage. The changes are logical, but there are a few areas for improvement regarding Dart best practices and adherence to the project's contribution guidelines.

Specifically, my review highlights two violations of the style guide:

  • New functionality should be accompanied by tests (lines 17-17).
  • The pull request description is empty and should contain the Pre-Review Checklist (lines 18-20).

Please address these process issues along with the specific code suggestions provided.

Copy link
Collaborator

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

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

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

images: ['assets/travel_images/brooklyn_bridge_new_york.jpg'],
),
HotelListing(
name: 'The Dart Inn',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Love the name. I'd stay there. :-)

@polina-c polina-c merged commit d7deefe into flutter:main Sep 13, 2025
20 of 21 checks passed
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