What’s New

textgen v4.6.2

v4.6.2
Added
  • Add inline approve/reject/always-approve buttons that appear before each tool call is executed, enabled via the new "Confirm tool calls" checkbox in the Chat tab
  • Support local subprocess-based MCP servers configured via user_data/mcp.json using the same format as Claude Desktop and Cursor
  • Add preserve_thinking chat template parameter with UI checkbox and --preserve-thinking CLI flag to control whether thinking blocks from prior turns are kept in the context
Changed
  • Sidebars now toggle independently and persist their state on page refresh, with default visibility adapting to viewport width
  • Pass --draft-min 48 by default for llama.cpp draftless speculative decoding
  • Only show the "Reasoning effort" and "Enable thinking" controls for models whose chat template actually uses them
  • Cache MCP tool discovery to avoid re-querying servers on each generation
  • Improve border colors in light theme, fix code block copy button colors and centering, fix code block scrollbar flash during page load, improve past chats menu spacing
Fixed
  • Fix Gemma 4 thinking tags not hidden after tool calls
  • Fix GPT-OSS channel tokens leaking in UI after tool calls
  • Fix Slider preprocess not handling None from cleared number input
  • Fix llama.cpp multimodal by using server's random media marker
Security
  • Fix SSRF vulnerabilities in URL fetching by adding backslash and userinfo rejection and validating every redirect hop
Changes
  • Tool call confirmation: Add inline approve/reject/always-approve buttons that appear before each tool call is executed. Enable via the new "Confirm tool calls" checkbox in the Chat tab.
  • Stdio MCP server support: In addition to HTTP MCP servers, you can now configure local subprocess-based MCP servers via user_data/mcp.json, using the same format as Claude Desktop and Cursor. [Tutorial]
  • preserve_thinking chat template parameter: New UI checkbox and --preserve-thinking CLI flag to control whether thinking blocks from prior turns are kept in the context.
  • UI: Sidebars overhaul: Sidebars now toggle independently and persist their state on page refresh. Default visibility adapts to viewport width.
  • llama.cpp: Pass --draft-min 48 by default for draftless speculative decoding.
  • Only show the "Reasoning effort" and "Enable thinking" controls for models whose chat template actually uses them.
  • Cache MCP tool discovery to avoid re-querying servers on each generation.
  • Add model download branch handling in download_model_wrapper (#7506). Thanks, @Th-Underscore.
  • UI: Improve border colors in light theme, fix code block copy button colors and centering, fix code block scrollbar flash during page load, improve past chats menu spacing.
Security
  • Fix SSRF vulnerabilities in URL fetching: add backslash and userinfo rejection, validate every redirect hop.
Bug fixes
  • Fix Gemma 4 thinking tags not hidden after tool calls (#7509).
  • Fix GPT-OSS channel tokens leaking in UI after tool calls.
  • Fix Slider preprocess not handling None from cleared number input. 🆕 - v4.6.1.
  • llama.cpp: Fix multimodal by using server's random media marker. 🆕 - v4.6.1.
Dependency updates
Portable builds

Below you can find self-contained packages that work with GGUF models (llama.cpp) and require no installation! Just download the right version for your system, unzip/extract, and run.

[!NOTE] NVIDIA GPU: If nvidia-smi reports CUDA Version >= 13.1, use the cuda13.1 build. Otherwise, use cuda12.4.

ik_llama.cpp is a llama.cpp fork with new quant types. If unsure, use the llama.cpp column.

Windows
GPU/Platformllama.cppik_llama.cpp
NVIDIA (CUDA 12.4)Download (766 MB)Download (1.1 GB)
NVIDIA (CUDA 13.1)Download (686 MB)Download (1.19 GB)
AMD/Intel (Vulkan)Download (196 MB)
AMD (ROCm 7.2)Download (499 MB)
CPU onlyDownload (178 MB)Download (194 MB)
Linux
GPU/Platformllama.cppik_llama.cpp
NVIDIA (CUDA 12.4)Download (747 MB)Download (1.09 GB)
NVIDIA (CUDA 13.1)Download (696 MB)Download (1.21 GB)
AMD/Intel (Vulkan)Download (208 MB)
AMD (ROCm 7.2)Download (307 MB)
CPU onlyDownload (190 MB)Download (217 MB)
macOS
Architecturellama.cpp
Apple Silicon (arm64)Download (156 MB)
Intel (x86_64)Download (162 MB)
Updating a portable install:
  1. Download and extract the latest version.
  2. Replace the user_data folder with the one in your existing install. All your settings and models will be moved.

Starting with 4.0, you can also move user_data one folder up, next to the install folder. It will be detected automatically, making updates easier:

text-generation-webui-4.0/
text-generation-webui-4.1/
user_data/                    <-- shared by both installs
View original