mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 13:21:18 +00:00
Fix showing headings in intermediate step in generating chat response
This commit is contained in:
@@ -590,9 +590,7 @@ async def websocket_endpoint(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if compiled_references:
|
if compiled_references:
|
||||||
headings = "\n- " + "\n- ".join(
|
headings = "\n- " + "\n- ".join(set([c.get("compiled", c).split("\n")[0] for c in compiled_references]))
|
||||||
set([" ".join(c.get("compiled", c).split("Path: ")[1:]).split("\n ")[0] for c in compiled_references])
|
|
||||||
)
|
|
||||||
await send_status_update(f"**📜 Found Relevant Notes**: {headings}")
|
await send_status_update(f"**📜 Found Relevant Notes**: {headings}")
|
||||||
|
|
||||||
online_results: Dict = dict()
|
online_results: Dict = dict()
|
||||||
|
|||||||
Reference in New Issue
Block a user