- Add API Key Registration to tenant

This commit is contained in:
Josako
2024-08-29 10:42:39 +02:00
parent bc350af247
commit a158655247
3 changed files with 71 additions and 13 deletions

View File

@@ -54,6 +54,8 @@ class Tenant(db.Model):
license_end_date = db.Column(db.Date, nullable=True)
allowed_monthly_interactions = db.Column(db.Integer, nullable=True)
encrypted_chat_api_key = db.Column(db.String(500), nullable=True)
encrypted_api_key = db.Column(db.String(500), nullable=True)
# Tuning enablers
embed_tuning = db.Column(db.Boolean, nullable=True, default=False)