Artifact 751e61e888b0b3b159f4ae9430ab7c14f333eb1da36c71baf3aa4391ed1484e1:
- File
src/loop.c
-
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: 66441) [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: 66441) [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