Skip to the content.

Reasoning Effort: Native vs Custom Providers (Gotcha)

Observed: goose 1.60.2, 2026-11-23. Model claude-sonnet-5-5 on Vertex AI.

Gotcha

GOOSE_THINKING_EFFORT (config.yaml or env) reaches the model API only through native providers. Custom OpenAI-engine providers silently drop it, so the model runs at the server default effort.

Route What goose sends Effective effort
Native gcp_vertex_ai / anthropic thinking: {type: adaptive, display: summarized} + output_config: {effort: <GOOSE_THINKING_EFFORT>} as configured
Custom provider (engine: openai, e.g. custom_redhat → LiteLLM, custom_corp) no thinking / effort fields (known goose bug); LiteLLM drop_params: true would drop them anyway server default

Notes:

Why It Matters

Effort changes rule adherence, not just quality. AgentFS R2 Pre-Flight, same model, same Vertex endpoint, t_r2 + t_r2b × 4 runs:

Effort Result Behaviour
medium 0/8 Treats a 2-file task as trivial. No visible plan. After the hook denial, writes the plan inside the hidden thinking block and retries with no visible text.
high 8/8 Reasons “touches ≥2 files → state a plan”. Writes it as reply text.
server default (custom route) 8/8 Same as high.

Rules of Thumb

Sources