(user_id: str, pinned_nodes: List[Dict[str, Any]])
| 4392 | hits = wiki_db.search_nodes(user_id, query, limit=5) |
| 4393 | filtered_hits = _filter_wiki_nodes_for_configured_dir(hits) |
| 4394 | if filtered_hits is not None: |
| 4395 | hits = filtered_hits |
| 4396 | lowered_title = title.lower() |
| 4397 | lowered_node_id = node_id.lower() |
| 4398 | exact = next( |
| 4399 | ( |