Skip to content

Commit 396b364

Browse files
Aleksandr Slapoguzovslapoguzov
authored andcommitted
LLM-25226 clean up dynamicToolCall
1 parent 717edda commit 396b364

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/CodexEventHandler.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,19 +202,14 @@ export class CodexEventHandler {
202202
switch (event.item.type) {
203203
case "mcpToolCall":
204204
case "fileChange":
205+
case "dynamicToolCall":
205206
return {
206207
sessionUpdate: "tool_call_update",
207208
toolCallId: event.item.id,
208209
status: event.item.status === "completed" ? "completed" : "failed"
209210
}
210211
case "commandExecution":
211212
return this.completeCommandExecutionEvent(event.item);
212-
case "dynamicToolCall":
213-
return {
214-
sessionUpdate: "tool_call_update",
215-
toolCallId: event.item.id,
216-
status: event.item.status === "completed" ? "completed" : "failed"
217-
}
218213
case "reasoning":
219214
const summary = event.item.summary[0];
220215
if (!summary) return null;

0 commit comments

Comments
 (0)