🐛 Bug Report: Can't Select Agent Source
📜 Description
If there is only one data source, then you can't select data source except default one while creating an agent.
👟 Reproduction steps
- Start DocsGPT
- Go to settings
- Add only one data source
- Click manage agents
- Create agent
- Try to select data source
(At this step you should only see the option "default")
👍 Expected behavior
User should see the data source they uploaded instead of "default".
👎 Actual Behavior with Screenshots
It actually shows only "default" option.
💻 Operating system
MacOS
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
LLM_PROVIDER= VITE_API_STREAMING=
📃 Provide any additional context for the Bug.
If this behaviour is accepted because of existence of only one data source, then there is an issue when user uploads multiple data source, because we can see default option there too. (What is the default option?)
📖 Relevant log output
👀 Have you spent some time to check if this bug has been raised before?
- [x] I checked and didn't find similar issue
🔗 Are you willing to submit PR?
None
🧑⚖️ Code of Conduct
- [x] I agree to follow this project's Code of Conduct
I would like to contribute to this, will you assign me this. Thanks
@ardafincan Please try it out again, I think issue might be fixed for you now. Thank you!
Yeah it is fixed! Even though what "default" is not clear for the user the main issue is solved.