How to set user authentication for API calling from VSCode on server-side?

I'm currently running it on my server, by default, it can be accessed by anyone, how to restrict user access?


Siwen Yu

Asked on Jan 08, 2024

In version 0.7.0, user management with the --webserver flag was introduced. You can check the release notes for more details. It is an optional functionality and may not be updated in the documentation yet. Additionally, the --help output may not provide information about it either. You can use this functionality to restrict user access to the API. If you have successfully set it up, you can share your setup details such as GPU, number of developers, and the model you are using.

Jan 08, 2024Edited by