Closed sangee2004 closed 1 month ago
The link should definitely not cause the chat to reload, but i'm not sure exactly how we should handle this. The file is local, so im not sure how wed open it and almost certianly cannot reliable open it to the right page. Maybe we just say what doc it was instead of linking to it
To clarify further - the knowledge tool explicitly SHOULD NOT return references to docs by default
@StrongMonkey how feasible for is it going to be for the link to a reference of a knowledge do to actually point at the doc on disk so that it can be opened?
@StrongMonkey im going to just asign this one to you. two parter:
@cjellick I think it should be feasible as long as the link is the actual file path. I will give it a try
The root issue seems to be that our markdown parser didn't render the file link properly, causing an empty href. Trying to fix it now.
Tested with 8809ed131d3
Source link provided now opens the file as expected.
Electron build from - b4977d084ee
Steps to reproduce the problem:
chat
view being reloaded and user is presented with the most recent chat thread view.Expected Behavior: When source link is clicked , we should be able to open the page of knowledge document that is referenced in the source.
https://github.com/user-attachments/assets/cb64d7db-6d39-4322-8e8c-7a90725230be