Artifact dc3842828d66a6410656f42d9a7f87a333ed2f756e555583d09022bafc447f5d:
- File
src/models.h
-
2026-11-19 15:39:12
— part of check-in
[998e8169f1]
on branch thinking
— Thinking levels as in Pi, for every API
Pi's levels (off, minimal, low, medium, high, xhigh, max) limited to what each model supports per Pi's catalog (thinkingLevelMap, now in the built-in snapshot), and sent as Pi sends them: Anthropic adaptive thinking with effort for models that force it, otherwise thinking budgets with max_tokens raised, disabled when off; Chat Completions by thinking format (reasoning_effort, OpenRouter reasoning, DeepSeek and Z.ai thinking, Qwen and Together switches); Responses reasoning.effort. The level comes from --thinking, else the saved per-model or default level, else medium; pic models --thinking-default saves the default and pic models --json lists each model's levels. agent_start reports the level. (user: dmestas, size: 4309) [annotate] [blame] [check-ins using]
- 2026-11-19 15:45:53 — part of check-in [5058e3b40f] on branch trunk — CI green on 998e8169f137; live check on three providers (user: dmestas, size: 4309) [annotate] [blame] [check-ins using]
-
2026-11-19 15:39:12
— part of check-in
[998e8169f1]
on branch thinking
— Thinking levels as in Pi, for every API