← Commit history

Upload 1 file(s)

John Lauer ·84c72a4ca3 ·2mo ago ·parent 685e786
1 file changed +5−2
server.py+5−2
@@ -1714,8 +1714,11 @@ def _search_router() -> dict:         rec = "BEST SEARCH RIGHT NOW: " + "; also ".join("%s - %s" % o for o in options) + "."     else:         best = None-        rec = ("NO file search is ready right now. Quickest to enable: "-               + (enable[0] if enable else "none") + ".")+        # nothing ready -> show ALL enable paths + costs, not just the quickest, so the AI can+        # pick (e.g. it must know MCP needs fusion_start when Fusion is down).+        rec = ("NO file search is ready right now. To enable one: "+               + " | ".join(enable) + "." if enable else+               "NO file search is ready and none can be enabled in the current state.")     if enable and options:         rec += " Could also enable: " + " | ".join(enable) + "."