{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Task\/ExecuteAITaskUseCase.php",
"offset": 80,
"limit": 30
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Task\/ExecuteAITaskUseCase.php",
"content": " }\n\n return $result;\n }\n\n private function getClient(AssigneeType $type, array $options): AIClientInterface\n {\n return match ($type) {\n AssigneeType::OLLAMA => new OllamaClient(\n 'http:\/\/localhost:11434',\n $options['model'] ?? 'mistral'\n ),\n AssigneeType::ANTHROPIC_API => new AnthropicClient(\n $options['api_key'] ?? '',\n $options['model'] ?? 'claude-sonnet-4-20250514'\n ),\n default => throw new \\InvalidArgumentException(\"Unsupported executor type: {$type->value}\")\n };\n }\n\n private function buildPrompt(Task $task, array $options): string\n {\n $prompt = $task->getTitle();\n\n if ($task->getDescription() !== null) {\n $prompt .= \"\\n\\n\" . $task->getDescription();\n }\n\n if (isset($options['additional_context'])) {\n $prompt .= \"\\n\\n\" . $options['additional_context'];",
"numLines": 30,
"startLine": 80,
"totalLines": 131
}
}
}