text-generation-webui
text-generation-webui copied to clipboard
FastAPI docs support (http://127.0.0.1:7861/docs)
Description
When opening the URL http://127.0.0.1:7861/docs, /api/v1/generate doesn't showed up. But if you try to run api-example.py, it works. I'm not sure if it's due to the setup of API through api extension, or something else. Since the text-generation-webui is the A1111 of chatGPT, I'd like to have the FastAPI docs support as A1111 does. Thanks!!!
Additional Context
Attached is the http://127.0.0.1:7861/docs right now:, in which /api/v1/generate is not there and if you try /api/{api_name} with api_name equals "v1/generate", it won't work.
The api does not use FastAPI.
This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.