Skip to content

Commit 075cfb6

Browse files
Include the reason field of the agent
1 parent 05b0100 commit 075cfb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cloudSync.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,8 +2144,9 @@ func RunAgentDecisionSingulActionHandler(execution WorkflowExecution, decision A
21442144
}
21452145

21462146
parsedAction := CategoryAction{
2147-
AppName: decision.Tool,
2148-
Label: decision.Action,
2147+
AppName: decision.Tool,
2148+
Label: decision.Action,
2149+
Query: decision.Reason, // Add the reason field for LLM context
21492150

21502151
Fields: oldFields,
21512152

0 commit comments

Comments
 (0)