| 5451 | /* Only an explicit effort value counts as the client opting into |
| 5452 | * thinking control. summary alone, or `reasoning: null`, leaves the |
| 5453 | * default behaviour (and the model_alias_* fallbacks below) intact. */ |
| 5454 | if (effort_seen) { |
| 5455 | got_thinking = true; |
| 5456 | /* Responses-API effort "none" disables thinking; other values |
| 5457 | * pass through as the think mode. */ |
| 5458 | if (reasoning_effort == DS4_THINK_NONE) thinking_enabled = false; |
| 5459 | } |
| 5460 | } else if (!strcmp(key, "previous_response_id") || |
no outgoing calls