{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "curl -s http:\/\/localhost:11434\/api\/generate -d '{\"model\": \"mistral\", \"prompt\": \"Hi\", \"stream\": false, \"options\": {\"num_predict\": 5}}' | head -c 300",
"timeout": 60000,
"description": "Test Ollama with GPU"
}
}
{
"tool_response": {
"stdout": "{\"model\":\"mistral\",\"created_at\":\"2025-12-30T14:37:00.347304463Z\",\"response\":\" Hello! How can I\",\"done\":true,\"done_reason\":\"length\",\"context\":[3,29473,16127,4,29473,23325,29576,2370,1309,1083],\"total_duration\":3728071671,\"load_duration\":3579726203,\"prompt_eval_count\":5,\"prompt_eval_duration\":71619008",
"stderr": "",
"interrupted": false,
"isImage": false
}
}