Skip to content

Read tool gets called when knowledge tool encounters errors with process knowledge files resulting in string length exceeded errors. #263

Closed
@sangee2004

Description

@sangee2004

Electron build -bf86f18e1c

Steps to reproduce the problem:

  1. Chart with Tildy
  2. Add a pdf file (6.5 MB in my case) using "Add Knowledge"
  3. 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:

Screenshot 2024-08-22 at 1 53 21 PM

Expected Behavior:
Prevent Read tool from being called for large files which it is not able to handle and results in failure.

Metadata

Metadata

Labels

blowoutbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions