v1.4.488
danielmiessler/Fabricv1.4.488Sep 29, 2026by github-actions[bot]
Upgrading?
AI Summary
Enhances CLI control for Anthropic models by adding token limits and fixing thinking support for Claude 5.
Key Highlights
- Added `--maxTokens` CLI flag to cap model output tokens.
- Fixed Anthropic thinking support on Claude 5 models (Sonnet, Opus, Fable).
- Preserved numeric thinking budgets on adaptive models.
- Added shell completion support for the `--maxTokens` flag.
New Features
- `--maxTokens` CLI flag
- Claude 5 thinking support fix
Full Release Notes
## Changes ### PR [#2207](https://github.com/danielmiessler/Fabric/pull/2207) by [scottidler](https://github.com/scottidler) and [ksylvan](https://github.com/ksylvan): fix(anthropic): adaptive thinking on Claude 5 + add --maxTokens flag - Added a `--maxTokens` CLI flag that caps model output tokens, wiring the existing `ChatOptions.MaxTokens` field through to the provider; a value of `0` preserves the vendor default, so existing behavior is unchanged. - Fixed Anthropic thinking support on Claude 5 models (`claude-sonnet-5`, `claude-opus-5`, `claude-fable-5`), which rejected the legacy `thinking.type=enabled` plus `budget_tokens` shape and returned HTTP 400 for every `--thinking` value except `off`. - Reworked `parseThinking` to select the correct request shape per model: `thinking.type=disabled` for `off`, adaptive thinking with `output_config.effort` for Claude 5, and the legacy enabled/budget shape for older models. - Preserved numeric thinking budgets on adaptive models by bucketing them onto the nearest effort level using the same thresholds as the named levels, so `--thinking=2048` and `--thinking=medium` behave consistently. - Added `--maxTokens` shell completion support for Bash, Zsh, and Fish, treating it as an option that requires an argument.
Related Repositories
ollama/ollama★ 184,256
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,072
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflow★ 92,645
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,199
The world’s fastest framework for building websites.
junegunn/fzf★ 83,716
:cherry_blossom: A command-line fuzzy finder