You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a pdf file (6.5 MB in my case) using "Add Knowledge"
Tried to ask question about information in this pdf file which resulted in knowledge tool not being able to answer and LLM resorted to reading the file using read tool.
This results in following string length exceeded errors:
Expected Behavior:
Prevent Read tool from being called for large files which it is not able to handle and results in failure.
The text was updated successfully, but these errors were encountered:
This exact situation shouldn't happen any longer as knowledge has been decoupled from the workspace - #360
But @g-linville I still want you to make it so that the read tool doesnt try to read binary files (and potentially just large files or it cuts them off).
This should be good now. The description for sys.read tells the LLM not to use it to read binary files, and sys.read will now return an error back to the LLM if it detects that a file is not plain text.
Electron build -
bf86f18e1c
Steps to reproduce the problem:
Tildy
This results in following string length exceeded errors:
Expected Behavior:
Prevent Read tool from being called for large files which it is not able to handle and results in failure.
The text was updated successfully, but these errors were encountered: