Skip to content

Add search query extraction to Gemini and OpenAI response processing#686

Open
cutlope wants to merge 1 commit into
laravel:0.xfrom
cutlope:surface-web-queries
Open

Add search query extraction to Gemini and OpenAI response processing#686
cutlope wants to merge 1 commit into
laravel:0.xfrom
cutlope:surface-web-queries

Conversation

@cutlope

@cutlope cutlope commented Jun 3, 2026

Copy link
Copy Markdown
  • Implemented extractSearchQueries method in both ParsesTextResponses classes for Gemini and OpenAI to gather web search queries from response data.
  • Updated the Meta class to include searchQueries property.
  • Modified response processing to include extracted search queries in the Meta object.
  • Enhanced tests to verify the correct extraction of search queries from provider tool calls and responses.

Relevant Docs:
OpenAI
Google

- Implemented `extractSearchQueries` method in both `ParsesTextResponses` classes for Gemini and OpenAI to gather web search queries from response data.
- Updated the `Meta` class to include `searchQueries` property.
- Modified response processing to include extracted search queries in the `Meta` object.
- Enhanced tests to verify the correct extraction of search queries from provider tool calls and responses.
@pushpak1300 pushpak1300 marked this pull request as draft June 8, 2026 12:28
@pushpak1300

Copy link
Copy Markdown
Member

Test failing.

@cutlope

cutlope commented Jun 11, 2026

Copy link
Copy Markdown
Author

Test failing.

Hmm i had a look but these tests are not related to the changes here.

@pushpak1300 pushpak1300 marked this pull request as ready for review June 11, 2026 19:23
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