Skip to content

Commit 40629a3

Browse files
committed
fix observability
1 parent c45f6d3 commit 40629a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Observability/HandleToolEvents.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,7 @@ public function toolCalled(AgentInterface $agent, string $event, ToolCalled $dat
7878
->addContext('Properties', $data->tool->getProperties())
7979
->addContext('Inputs', $data->tool->getInputs())
8080
->addContext('Output', $data->tool->getResult());
81+
82+
unset($this->toolCalls[$data->tool::class]);
8183
}
8284
}

0 commit comments

Comments
 (0)