Commit 12c94ea
committed
feat: Add ExtraBody/ExtraFields support for custom OpenAI-compatible API parameters
- Modified getProviderOptions() to accept extraBody parameter
- Map provider config extra_body to Fantasy's extra_fields
- Updated all call sites in coordinator.go and agent_tool.go
- Enables Z.AI GLM thinking mode and other custom parameters
This works with the Fantasy fork that has ExtraFields support.1 parent 3b2985f commit 12c94ea
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
167 | 182 | | |
168 | 183 | | |
169 | 184 | | |
| 185 | + | |
170 | 186 | | |
171 | 187 | | |
172 | 188 | | |
| |||
0 commit comments