{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "timeout 5 REQUEST_URI=\"\/chat\/test123\/message\/stream\" REQUEST_METHOD=\"POST\" php -r '\n$_POST = [\"message\" => \"test\", \"model\" => \"ollama:gemma3:4b-it-qat\", \"collections\" => [\"documents\"], \"context_limit\" => \"3\"];\nrequire \"public\/index.php\";\n' 2>&1 | head -80",
"description": "Test SSE stream via PHP CLI"
}
}
{
"tool_response": {
"stdout": "timeout: failed to run command ‘REQUEST_URI=\/chat\/test123\/message\/stream’: No such file or directory",
"stderr": "",
"interrupted": false,
"isImage": false
}
}