TestExec_OpenAI_WithThinkingBudget tests that when thinking_budget is explicitly configured in the YAML, thinking is enabled by default.
(t *testing.T)
| 26 | // TestExec_OpenAI_WithThinkingBudget tests that when thinking_budget is explicitly configured |
| 27 | // in the YAML, thinking is enabled by default. |
| 28 | func TestExec_OpenAI_WithThinkingBudget(t *testing.T) { |
| 29 | t.Parallel() |
| 30 | out := runCLI(t, "run", "--exec", "testdata/basic_with_thinking.yaml", "What's 2+2?") |
| 31 | |
| 32 | // With thinking_budget explicitly configured, response should include reasoning |
| 33 | // The output format includes the reasoning summary when thinking is enabled |
| 34 | require.Contains(t, out, "4") |
| 35 | } |
| 36 | |
| 37 | func TestExec_OpenAI_ToolCall(t *testing.T) { |
| 38 | t.Parallel() |