Skip to content

Commit 3824377

Browse files
committed
Fix merge
Signed-off-by: Louis Mandel <[email protected]>
1 parent f04f510 commit 3824377

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/pdl/pdl_interpreter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ def process_block_body(
589589
tool_call_id, block = process_expr_of(block, "tool_call_id", scope, loc)
590590
message["tool_call_id"] = tool_call_id
591591
result = PdlDict(message)
592+
background = PdlList([result])
592593
case IfBlock():
593594
b, if_trace = process_condition_of(block, "condition", scope, loc, "if")
594595
if b:

tests/test_messages.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,6 @@ def test_messages5():
134134
"content": 42,
135135
"name": "f",
136136
"tool_call_id": "id",
137-
"defsite": "array.0.message", } ]
137+
"defsite": "array.0.message",
138+
}
139+
]

0 commit comments

Comments
 (0)