Skip to content

Commit e2dc1e8

Browse files
committed
feat(message): add tool_call_id field to message schema
1 parent f2fcdc1 commit e2dc1e8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

flowllm/core/schema/message.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ def simple_dump(self, add_reasoning: bool = False) -> dict:
2929

3030
if self.tool_calls:
3131
result["tool_calls"] = [x.simple_output_dump() for x in self.tool_calls]
32+
33+
if self.tool_call_id:
34+
result["tool_call_id"] = self.tool_call_id
35+
3236
return result
3337

3438
@property

0 commit comments

Comments
 (0)