{
"event": "PreToolUse",
"tool_name": "Grep",
"tool_input": {
"pattern": "function getAvailableCollections",
"path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ChatController.php",
"output_mode": "content",
"-A": 20
}
}
{
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "540: private function getAvailableCollections(): array\n541- {\n542- if ($this->collectionsCache === null) {\n543- $this->collectionsCache = $this->collectionRepository->getSearchable();\n544-\n545- \/\/ Fallback if database is empty\n546- if ($this->collectionsCache === []) {\n547- $this->collectionsCache = [\n548- ['collection_id' => 'documents', 'display_name' => 'Dokumente', 'points_count' => 0, 'vector_size' => 1024],\n549- ];\n550- }\n551- }\n552-\n553- return $this->collectionsCache;\n554- }\n555-\n556- \/**\n557- * Get collection IDs only (for backwards compatibility)\n558- *\n559- * @return array<string>\n560- *\/",
"numLines": 21
}
}