Commit 52c62ea
committed
🤖 fix: enable visible reasoning for Opus 4.5 by adding thinking parameter
Opus 4.5 requires both parameters to show reasoning traces in the UI:
- thinking: { type: 'enabled', budgetTokens } - enables visible reasoning
- effort: controls how tokens are spent across all output
Previously we only passed effort, which controls token spend but doesn't
enable the reasoning traces to be returned from the API.
_Generated with mux_
Change-Id: I3aa6492d8028fd6ddebaac2123cedd07ae32d4f9
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent f8e7690 commit 52c62ea
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
| |||
0 commit comments