Repository navigation
Fix query parameter for OpenTable Reviews and Google AI Overview - #7
Open
donelldzamara44-ops wants to merge 1 commit into
Open
donelldzamara44-ops wants to merge 1 commit into
donelldzamara44-ops wants to merge 1 commit into
Conversation
engines.ts sent the search text as restaurant_id for open_table_reviews and as q for google_ai_overview. The API takes rid and page_token; neither old name exists. Correct both rows, the same two rows in the skill reference, and add a test with the mocked fetch. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
open_table_reviewswas mapped torestaurant_id, but the API's required parameter isridand it has norestaurant_id(https://serpapi.com/open-table-reviews-api).google_ai_overviewwas mapped toq, but that API takespage_tokenand has noq(https://serpapi.com/google-ai-overview-api).Fixed both rows in
engines.tsand in the skill'sreferences/engines.md, and added a test. Tests and typecheck pass. They run on the mockedfetch; I have no key, so no live search.google_flightsandgoogle_travel_explorealso fall back toqwhen they needdeparture_id/arrival_id. No single name fits there, so I left them.I build with an AI coding agent instead of writing code by hand, and it made this change. I'm the one who answers here if something is off.