Home
last modified time | relevance | path

Searched refs:toolCall (Results 1 – 1 of 1) sorted by relevance

/plugin/dokullm/
H A DLlmClient.php355 * @param array $toolCall The tool call data from the LLM
358 private function handleToolCall($toolCall) argument
360 $toolName = $toolCall['function']['name'];
361 $arguments = json_decode($toolCall['function']['arguments'], true);
371 $toolResponse['tool_call_id'] = $toolCall['id'];
378 'tool_call_id' => $toolCall['id'],
512 foreach ($toolCalls as $toolCall) {
513 $toolName = $toolCall['function']['name'];
520 $toolResponse = $this->handleToolCall($toolCall);