Artifact bb65c074ed61c6f44165d0d068d71036add5fdf620599b002e7f3ae455a7349e:
- File
test/pic/test_models.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: 6292) [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: 6292) [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