{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/scripts\/pipeline\/quality_test.py",
"offset": 40,
"limit": 10
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/scripts\/pipeline\/quality_test.py",
"content": " break\n return anthropic.Anthropic(api_key=api_key) if api_key else None\n\n\ndef run_ollama(model, prompt, timeout=180):\n \"\"\"Run prompt through Ollama model.\"\"\"\n start = time.time()\n try:\n response = requests.post(\n f\"{OLLAMA_HOST}\/api\/generate\",",
"numLines": 10,
"startLine": 40,
"totalLines": 350
}
}
}