Repository navigation
Commit 9819191
committed
Preserve automatic tools for Foundry Local text responses
Omit explicit text response formats from HTTP requests so SDK 2.2.1 does not disable tool selection. Cover omitted, string and dictionary automatic choices in streaming and non-streaming tool loops without mutating caller options.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 02674608-bd9c-4c05-a2be-223196e5bd451 parent 3a51775 commit 9819191
2 files changed
Lines changed: 14 additions & 5 deletions
File tree
- python/packages/foundry_local
- agent_framework_foundry_local
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
327 | 330 | | |
328 | | - | |
| 331 | + | |
329 | 332 | | |
330 | 333 | | |
331 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1216 | 1216 | | |
1217 | 1217 | | |
1218 | 1218 | | |
1219 | | - | |
| 1219 | + | |
| 1220 | + | |
1220 | 1221 | | |
1221 | | - | |
| 1222 | + | |
1222 | 1223 | | |
1223 | 1224 | | |
1224 | 1225 | | |
| |||
1251 | 1252 | | |
1252 | 1253 | | |
1253 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
1254 | 1258 | | |
1255 | 1259 | | |
1256 | 1260 | | |
| |||
1259 | 1263 | | |
1260 | 1264 | | |
1261 | 1265 | | |
1262 | | - | |
| 1266 | + | |
1263 | 1267 | | |
| 1268 | + | |
| 1269 | + | |
1264 | 1270 | | |
1265 | 1271 | | |
1266 | 1272 | | |
| |||
0 commit comments