BUG: Settings page does not update active YOLO model after changing it in Model Manager.
Is there an existing issue for this?
- [x] I have searched the existing issues
What happened?
What I have observed is that when you open settings and try to change the yolo Model in configure in the Model Manager, when you go from medium to small , you can switch it to active but, when you close the model manager the settings page still shows model as medium. It fixes itself when you switch pages and switch back to settings, but instead of doing that refreshing every time, we can just send request to frontend to change it in real time.
#Steps to Reproduce
1. Open Settings. 2. Current YOLO Model Size (e.g. Medium). 3. Click Configure. 4. In the Model Manager, select another installed model (e.g. Nano) and click Set active. 5. Close the Model Manager. 6. See the selection bar it still says Medium instead of Nano. 7. Now switch pages (eg.switch to memories) then switch back to settings it will now show nano. 8. Instead of Realtime updation it needs refreshing.
Expected behavior:
After setting a model as active in the Model Manager, the YOLO Model Size displayed in Settings should update immediately when we quit the Model Manager.
Actual behavior:
The model is successfully changed internally, but the Settings UI continues displaying the previous value until the page is refreshed or revisited.
https://github.com/user-attachments/assets/da115e22-8088-4683-b42e-d9136825e655
Record
- [x] I agree to follow this project's Code of Conduct
👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)
@rohan-pandeyy @rahulharpal1603 Can I work on this issue?
@Takitxt, please go ahead!
The PR for this issue is already merged and this issue is closed.