| @@ -157,11 +157,11 @@ | ||
| 157 | 157 | // temperature, top_p, frequency_penalty, presence_penalty are not supported |
| 158 | 158 | $body['max_completion_tokens'] = $safe_tokens; |
| 159 | 159 | |
| 160 | 160 | // GPT-5 models accept reasoning_effort ('minimal'…'high'). Callers |
| 161 | - // wanting a quick consumer-style answer (e.g. brand-visibility | |
| 162 | - // probes) pass 'minimal' so hidden reasoning can't consume the | |
| 163 | - // whole completion budget and return empty text. Only the GPT-5 | |
| 161 | + // wanting a quick answer pass a low level so hidden reasoning | |
| 162 | + // can't consume the whole completion budget and return empty | |
| 163 | + // text. Only the GPT-5 | |
| 164 | 164 | // family gets it: o1 rejects the parameter outright. |
| 165 | 165 | if (isset($options['reasoning_effort']) && str_starts_with($options['model'], 'gpt-5')) { |
| 166 | 166 | $body['reasoning_effort'] = (string) $options['reasoning_effort']; |
| 167 | 167 | } |