Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Application APIs #42

Open
db0 opened this issue Oct 7, 2022 · 0 comments
Open

Create Application APIs #42

db0 opened this issue Oct 7, 2022 · 0 comments
Labels
countermeasures enhancement New feature or request

Comments

@db0
Copy link
Member

db0 commented Oct 7, 2022

Normally IP can only be used by 3 user accounts at the same time. We should deploy an endpoint where a user can register an App Name and get an API key for it to increase this limit.

The application will be stored in the DB and will track how many users are using it. It will default to 1, but can be increased by admins and mods of the horde. Setting it to -1 will allow infinite amounts of accounts from the same IP

When this app key is sent along with the payload, it count as just 1 of the accounts per IP. So any number of requests from different accounts using an app, can be used and the app will count as just 1 IP. However only 1 app can be active per IP, so other ones might need to wait their turn, or figure out how to arrange for a common app account.

@db0 db0 added enhancement New feature or request countermeasures labels Oct 7, 2022
All-Ki pushed a commit to All-Ki/AI-Horde that referenced this issue Mar 7, 2023
* Adds .md5 files to gitignore

* Add model-stats support for new rotated log files

* Correctly include latest log file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
countermeasures enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant