Artifact 853b2447be7a2992568842359f5bd0599482bdda3551a6bdf1d550704de85e22:
- File
src/events.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: 3258) [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: 3258) [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