feat: Google Places (New) integration tools - #450
Closed
esafwan wants to merge 1 commit into
Closed
Conversation
Adds 5 App Provided tools (category: Google Places) ported from Travel-with-Genie-AI/google_services with full param coverage: - gplaces_text_search: text search with location bias/restriction, type/price/rating filters, pagination - gplaces_place_details: full field-mask details incl. photos, reviews, review summary - gplaces_place_photo: photo media URL resolution (photoUri or redirect) - gplaces_autocomplete: suggestions with primary-type filter, location bias, 24h Redis cache, country post-filter - gplaces_nearby_search: searchNearby with included/excluded types Credentials reuse the google_maps Integration Service (env fallbacks PLACE_API_KEY / GOOGLE_PLACES_API_KEY added). No DocType or frontend changes; tools sync via the existing huf_tools registry.
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the Google Places API (New) integrations from Travel-with-Genie-AI/google_services@develop into huf as first-class App Provided tools — with full parameter coverage (the source hardcoded many API params; the tools expose them).
Tools (5, category: Google Places)
gplaces_text_searchplaces:searchTextgplaces_place_detailsplaces/{id}gplaces_place_photo{photo}/mediagplaces_autocompleteplaces:autocompletegplaces_nearby_searchplaces:searchNearbyDesign
google_maps.pyApp Provided pattern: no DocType, frontend, orsdk_tools.pychanges — tools sync viasync_discovered_tools()and appear in the agent tool picker automatically.PLACE_API_KEY/GOOGLE_PLACES_API_KEYadded.Testing
huf/ai/tests/test_google_places_tools.py— 17 unit tests (param building, field masks, validation, cache key/TTL, country filter, photo redirect handling, registry wiring), all passing with mocked requests.ruff check/formatclean on new files;compileallclean.Related: #439 (Google/Perplexity search tools). Companion SERP PR follows separately.