Commit 5d45cc9
authored
Fixing doc - invalid options for gpt-4.1 model (#2708)
The original doc when used produces the following error:
```
---ERROR (Unspecified error code: 400)---
Request failed with status code: 400 Bad Request,
{
"error": {
"message": "Unsupported parameter: 'reasoning.effort' is not supported with this model.",
"type": "invalid_request_error",
"param": "reasoning.effort",
"code": "unsupported_parameter"
}
}
```
`gpt-4.1` is not a reasoning model and does not support reasoning and
effort options. Can use `gpt-5`instead1 parent a61d28c commit 5d45cc9
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments