Commit 8038a33
feat(gateway): make alibaba thinking opt-in via reasoning_effort
Drive Alibaba's enable_thinking from reasoning_effort like other
providers (openai/anthropic/google/zai). Unset or "minimal" disables
thinking; any other effort enables it. Replaces the qwen3.6-35b-a3b
JSON workaround — the empty-output bug only manifests when thinking
is on, which now requires explicit user opt-in.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 1a5b5d3 commit 8038a33
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
1043 | 1041 | | |
1044 | 1042 | | |
1045 | 1043 | | |
| |||
0 commit comments