Commit 8b242ee
fix: add system_prompt to structured_output_span before adding input_messages (strands-agents#709)
* fix: add system_prompt to structured_output_span before adding input_messages
* test: Add system message ordering validation to agent structured output test
* Switch to ensuring exact ordering of messages
---------
Co-authored-by: Dennis Tsai (RD-AS) <[email protected]>
Co-authored-by: Mackenzie Zastrow <[email protected]>1 parent dfa6242 commit 8b242ee
File tree
2 files changed
+22
-13
lines changed- src/strands/agent
- tests/strands/agent
2 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | 473 | | |
479 | 474 | | |
480 | 475 | | |
481 | 476 | | |
482 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
1028 | 1029 | | |
1029 | 1030 | | |
1030 | 1031 | | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1035 | 1047 | | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
| 1048 | + | |
1040 | 1049 | | |
1041 | 1050 | | |
1042 | 1051 | | |
| |||
0 commit comments