Repository navigation
Commit d95defa
authored
Python: fix(anthropic): nest bash tool result files inside the shell tool result (microsoft#9343)
* Python: fix(anthropic): nest bash tool result files inside the shell tool result
The bash branch appended hosted output files to the message-level
contents list instead of the shell result outputs, so the files leaked
out as bare top-level hosted_file contents. The code interpreter twin
branch already nested them correctly.
Fixes microsoft#9342
Signed-off-by: Manohar Paturi <[email protected]>
* Python: guard the bash files test against the optional outputs list
Signed-off-by: Manohar Paturi <[email protected]>
---------
Signed-off-by: Manohar Paturi <[email protected]>
Co-authored-by: Manohar Paturi <[email protected]>1 parent f34d6d6 commit d95defa
2 files changed
Lines changed: 31 additions & 1 deletion
File tree
- python/packages/anthropic
- agent_framework_anthropic
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1563 | 1563 | | |
1564 | 1564 | | |
1565 | 1565 | | |
1566 | | - | |
| 1566 | + | |
1567 | 1567 | | |
1568 | 1568 | | |
1569 | 1569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4269 | 4269 | | |
4270 | 4270 | | |
4271 | 4271 | | |
| 4272 | + | |
| 4273 | + | |
| 4274 | + | |
| 4275 | + | |
| 4276 | + | |
| 4277 | + | |
| 4278 | + | |
| 4279 | + | |
| 4280 | + | |
| 4281 | + | |
| 4282 | + | |
| 4283 | + | |
| 4284 | + | |
| 4285 | + | |
| 4286 | + | |
| 4287 | + | |
| 4288 | + | |
| 4289 | + | |
| 4290 | + | |
| 4291 | + | |
| 4292 | + | |
| 4293 | + | |
| 4294 | + | |
| 4295 | + | |
| 4296 | + | |
| 4297 | + | |
| 4298 | + | |
| 4299 | + | |
| 4300 | + | |
| 4301 | + | |
0 commit comments