Files
openclaw/src
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 <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
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-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-09 18:56:58 -08:00