danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.33k stars 3.23k forks source link

The file attachment feature for agents is abnormally slow. #4722

Closed Passerby1011 closed 1 week ago

Passerby1011 commented 1 week ago

What happened?

I attached some small files (20 in total) to the agents, very small files. Agents are working exceptionally slowly, with even a simple minor issue taking a considerable amount of time (approximately 1 minute or more). I'm not sure if this is inherent to their performance or if there is an issue causing the slowdown. The working speed of agents when attaching files needs to be optimized!!! At the same time, I noticed while it was working that the agents don't seem to pay attention to file names. Even though my file names were written clearly, it still browsed through all the files. Or maybe it can't understand Chinese names, possibly? Or would it be better to combine these small texts into one large text and attach it?

Steps to Reproduce

  1. Create an agent.
  2. Enable the File Search feature and upload several files.
  3. Ask relevant questions.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Screenshots

No response

Code of Conduct