rubra-ai / rubra

Open Weight, tool-calling LLMs
https://docs.rubra.ai/
Apache License 2.0
148 stars 20 forks source link

When some files are removed as part of modifying an existing assistant , "knowledge" tool is not set any more for the assistant. #105

Closed sangee2004 closed 4 months ago

sangee2004 commented 8 months ago

Steps to reproduce the problem:

  1. Create an assistant with 2 files.
  2. Once assistant is created successfully, delete one of the files and update the assistant.
  3. Once assistant is updated successfully , notice that the "knowledge" tool is not set any more for the assistant.
  4. Any chat done using this assistant results in not calling "FileKnowledge" function for retrieving information from the files.

Expected Behavior: Removing files should not result in "knowledge" tool removed from the assistant when there are more files associated with the assistant.