SuperAGI icon indicating copy to clipboard operation
SuperAGI copied to clipboard

Request, Depends dependency fix

Open sahilk0108 opened this issue 11 months ago • 4 comments

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.

sahilk0108 avatar Jan 24 '25 05:01 sahilk0108

+1 to this PR. Without it, the backend fails to build and cannot open UI. Please merge this!

i-m-addycoder avatar Mar 01 '25 14:03 i-m-addycoder

Much Needed PR, solved my issue, without this the app is UI is getting stuck in Initialising SuperAGI .

toheedakhtar avatar Mar 20 '25 09:03 toheedakhtar

How come this is shipped with out a test lol

dagi377 avatar Aug 13 '25 04:08 dagi377

it has countless errors

dagi377 avatar Aug 13 '25 04:08 dagi377