mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-18 02:11:59 -05:00
fix(tool-calls): remove redundant input/output fields in favor of arguments/response, exclude isExpanded for tools in agents in workflow change detection (#1630)
This commit is contained in:
@@ -928,8 +928,7 @@ export class AgentBlockHandler implements BlockHandler {
|
||||
endTime: tc.endTime,
|
||||
duration: tc.duration,
|
||||
arguments: tc.arguments || tc.input || {},
|
||||
input: tc.arguments || tc.input || {}, // Keep both for backward compatibility
|
||||
output: tc.result || tc.output,
|
||||
result: tc.result || tc.output,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user