Commit 69cc4c0
committed
Fix gpt-5-chat-latest model not supported error
Exclude gpt-5-chat-latest variants from reasoning model detection to prevent
sending unsupported reasoning.summary parameter.
The gpt-5-chat-latest model variant does not support the reasoning.summary
parameter, causing 400 Bad Request errors when the Responses API is used.
Fixes: #2166
Signed-off-by: Md Yunus <admin@yunuscollege.eu.org>
Co-authored-by: Md Yunus <admin@yunuscollege.eu.org>1 parent 3ff5495 commit 69cc4c0
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
906 | 910 | | |
907 | 911 | | |
908 | 912 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
0 commit comments