Make ready for first release

This commit is contained in:
Phil Szalay 2025-02-27 11:44:03 +01:00
parent 6b4f00d6f6
commit 0a0a806a9d
2 changed files with 3 additions and 2 deletions

View File

@ -453,7 +453,7 @@ async def signup(request: Request, response: Response, form_data: SignupForm):
company = Companies.create_company({
"id": company_id,
"name": f"{form_data.name}'s Company",
"credit_balance": 5000 # Initial credit balance
"credit_balance": 10000 # Initial credit balance
})
if not company:
raise HTTPException(500, detail=ERROR_MESSAGES.CREATE_COMPANY_ERROR)
@ -461,6 +461,7 @@ async def signup(request: Request, response: Response, form_data: SignupForm):
company_id = NO_COMPANY
hashed = get_password_hash(form_data.password)
user = Auths.insert_new_auth(
form_data.email.lower(),
hashed,

View File

@ -39,7 +39,7 @@ def upgrade() -> None:
{'model_name': 'GPT 4o', 'message_credit_cost': 20},
{'model_name': 'GPT 4o Mini', 'message_credit_cost': 1},
{'model_name': 'Claude 3 Haiku', 'message_credit_cost': 2},
{'model_name': 'Claude 3.5 Sonnet', 'message_credit_cost': 25},
{'model_name': 'Claude 3.5 Sonnet v2', 'message_credit_cost': 25},
{'model_name': 'Gemini 1.5 Pro', 'message_credit_cost': 2},
{'model_name': 'Perplexity', 'message_credit_cost': 25},
{'model_name': 'GPT 3.5 Turbo', 'message_credit_cost': 25},