Evan Reid 0c7bc303c9
fix(tools): correct Grok response parsing for xAI Responses API (#13049)
* fix(tools): correct Grok response parsing for xAI Responses API

The xAI Responses API returns content in output[0].content[0].text,
not in output_text field. Updated GrokSearchResponse type and
runGrokSearch to extract content from the correct path.

Fixes the 'No response' issue when using Grok web search.

* fix(tools): harden Grok web_search parsing (#13049) (thanks @ereid7)

---------

Co-authored-by: erai <erai@erais-Mac-mini.local>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
2026-02-09 21:51:24 -06:00
..
2026-02-09 18:56:58 -08:00
2026-02-09 18:59:42 -08:00
2026-02-09 18:56:58 -08:00
2026-01-30 03:16:21 +01:00
2026-02-04 10:37:14 -05:00
2026-02-09 18:56:58 -08:00
2026-02-09 09:58:58 +09:00
2026-02-09 18:56:58 -08:00
2026-02-03 06:10:19 +00:00
2026-02-09 18:56:58 -08:00