Skip to content

Commit 7f3b729

Browse files
committed
feat: add xAI provider, hybrid web search, and Tavily/Perplexity providers
- Add XaiProvider using Responses API with native web_search passthrough - Add native search passthrough for Anthropic and xAI providers with prefer_native config toggle to skip client-side web_search tool - Add Tavily and Perplexity as search provider options alongside SearXNG and Brave, with answer synthesis support - Upgrade web_fetch to use readability crate for HTML content extraction with regex fallback, plus SSRF protection (private IP/hostname blocking) - Add persistent search usage stats (search_stats.json) and session-level search tracking across CLI, desktop GUI, Telegram, and HTTP API - Add `localgpt search stats` CLI command - Add xAI provider configuration (providers.xai) with env var expansion
1 parent 30c7e31 commit 7f3b729

17 files changed

Lines changed: 1986 additions & 129 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to LocalGPT are documented in this file.
44

5+
## [Unreleased]
6+
7+
### Added
8+
9+
- **Hybrid web search support** with configurable providers (`searxng`, `brave`, `tavily`, `perplexity`) and native-search passthrough controls.
10+
- **xAI provider support** (`xai/*`, `grok-*`) with native `web_search` tool passthrough.
11+
- **Web search docs and CLI surfaces**: `localgpt search test`, `localgpt search stats`, and a dedicated `docs/web-search.md` guide.
12+
13+
### Changed
14+
15+
- **`web_fetch` extraction upgraded** to use the `readability` crate with fallback text sanitization.
16+
- **Config templates expanded** with `providers.xai` and full `[tools.web_search]` examples in both default and example config files.
17+
518
## [0.2.0] - 2026-02-14
619

720
A milestone release introducing LocalGPT Gen for 3D scene generation, XDG Base Directory compliance, Docker Compose support, and workspace restructuring.

0 commit comments

Comments
 (0)