-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
What happened?
Agents RAG tool generated function description exceeding the 1024 maximum length allowed by OpenAI API.
I can provide a sample knowledge base if needed.
Steps to Reproduce
- configure RAG
- configure an agent
- enable file search for the agent
- upload documents for a small/medium size knowledge base (let's say 50000 words)
- start a chat with the agent
What browsers are you seeing the problem on?
No response
Relevant log output
error: [api/server/controllers/agents/client.js #sendCompletion] Unhandled error type 400 Invalid 'tools[1].function.description': string too long. Expected a string with maximum length 1024, but got a string with length 1775 instead.
Screenshots
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working