{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "curl -s http:\/\/localhost:6333\/collections\/documents | python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)['result']\ncfg = d.get('config', {})\nopt = cfg.get('optimizer_config', {})\nhnsw = cfg.get('hnsw_config', {})\nprint('=== documents Config ===')\nprint(f'Points: {d.get(\\\"points_count\\\")}')\nprint(f'Indexed: {d.get(\\\"indexed_vectors_count\\\")}')\nprint(f'Segments: {d.get(\\\"segments_count\\\")}')\nprint(f'Optimizer Status: {d.get(\\\"optimizer_status\\\")}')\nprint()\nprint('=== Optimizer Config ===')\nprint(f'indexing_threshold: {opt.get(\\\"indexing_threshold\\\")}')\nprint(f'flush_interval_sec: {opt.get(\\\"flush_interval_sec\\\")}')\nprint()\nprint('=== HNSW Config ===')\nprint(f'm: {hnsw.get(\\\"m\\\")}')\nprint(f'ef_construct: {hnsw.get(\\\"ef_construct\\\")}')\nprint(f'full_scan_threshold: {hnsw.get(\\\"full_scan_threshold\\\")}')\n\"",
"description": "Check documents collection config"
}
}
{
"tool_response": {
"stdout": "=== documents Config ===\nPoints: 1997\nIndexed: 0\nSegments: 8\nOptimizer Status: ok\n\n=== Optimizer Config ===\nindexing_threshold: 0\nflush_interval_sec: 5\n\n=== HNSW Config ===\nm: 16\nef_construct: 100\nfull_scan_threshold: 10000",
"stderr": "",
"interrupted": false,
"isImage": false
}
}