Searched refs:useTools (Results 1 – 1 of 1) sorted by relevance
260 … private function callAPI($command, $prompt, $metadata = [], $useContext = true, $useTools = false) argument324 if ($useTools) {439 * @param bool $useTools Whether to process tool calls (used for loop protection)442 private function callAPIWithTools($data, $toolsCalled = false, $useTools = true) argument497 if ($useTools && isset($result['choices'][0]['message']['tool_calls'])) {542 return $this->callAPIWithTools($data, $toolsCalled, $useTools);