v1.4.450
danielmiessler/Fabricv1.4.450Apr 23, 2026by github-actions[bot]
AI Summary
The project now supports search grounding for GrokAI using xAI's Responses API, resolving HTTP 422 errors associated with hardcoded tool names and enabling real source URLs.
Key Highlights
- Added GrokAI search grounding via xAI Responses API
- Introduced new configuration fields for overriding web search tool names
- Pre-configured GrokAI to enable grounded search results
New Features
- GrokAI search grounding support
Full Release Notes
## Changes ### PR [#2092](https://github.com/danielmiessler/Fabric/pull/2092) by [Resistor52](https://github.com/Resistor52): feat(openai): add GrokAI search grounding via xAI Responses API - Added support for GrokAI search grounding via xAI's Responses API, fixing HTTP 422 errors caused by a hardcoded OpenAI `web_search_preview` tool name in `buildResponseParams`. - Introduced two new fields to `openai_compatible.ProviderConfig`: `WebSearchToolName` (to override the default web search tool name) and `EnableXSearch` (to append xAI's `x_search` tool when search is enabled). - Both new fields default to empty/false, preserving full backwards compatibility for all existing providers. - GrokAI is pre-configured with `WebSearchToolName` set to `"web_search"` and `EnableXSearch` set to `true`, enabling grounded search results with real source URLs via `fabric -V GrokAI --search`. - Added tests in `openai_test.go` covering the new override paths and confirming default provider behavior remains unchanged.