Request, Depends dependency fix
fixed #1446
Description
Removed Request type hint from get_current_user in auth.py
Related Issues
https://github.com/TransformerOptimus/SuperAGI/issues/1446 https://github.com/fastapi/fastapi/discussions/9897
Solution and Design
https://github.com/TransformerOptimus/SuperAGI/pull/1426 https://github.com/fastapi/fastapi/discussions/9897
Test Plan
Run docker compose -f docker-compose.yaml up backend Confirm Application startup complete. message showing up.
Type of change
- [✔ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Docs update
Checklist
- [✔ ] My pull request is atomic and focuses on a single change.
- [✔ ] I have read the contributing guide and my code conforms to the guidelines.
- [ ✔] I have documented my changes clearly and comprehensively.
- [✔ ] I have added the required tests.
+1 to this PR. Without it, the backend fails to build and cannot open UI. Please merge this!
Much Needed PR, solved my issue, without this the app is UI is getting stuck in Initialising SuperAGI .
How come this is shipped with out a test lol
it has countless errors