Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public static void chat(
new ArrayList<>((List<ChatMessage>) toolCallContext.get(initialRequestId));

messageContext.add(response);
toolCallContext.put(initialRequestId, messageContext);
stm.set(TOOL_CALL_CONTEXT, toolCallContext);

ToolRequestEvent toolRequestEvent =
Expand Down Expand Up @@ -182,6 +183,7 @@ public static void processChatRequestOrToolResponse(Event event, RunnerContext c
extraArgs));
}
}
toolCallContext.put(initialRequestId, messages);
// overwrite tool call context
stm.set(TOOL_CALL_CONTEXT, toolCallContext);

Expand Down