Skip to content

Commit 965f59a

Browse files
committed
fix: update tool call index in trigger_task.py
1 parent 31c2d7c commit 965f59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/trigger/serializers/trigger_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_execution_details(self, is_valid=True):
107107
'run_time': tool_record.run_time,
108108
'details': {
109109
'tool_call': {
110-
'index': 0,
110+
'index': 1,
111111
'result': tool_record.meta.get('output'),
112112
'params': tool_record.meta.get('input'),
113113
'status': 500 if tool_record.state == State.FAILURE else 200 if tool_record.state == State.SUCCESS else 201,

0 commit comments

Comments
 (0)