feat: migrate orgconfig model across the app

This commit is contained in:
swve 2024-08-10 16:53:59 +02:00
parent 6485b6e1bb
commit 28a2456d69
12 changed files with 467 additions and 363 deletions

View file

@ -52,7 +52,7 @@ def migrate_v0_to_v1(v0_config):
if v0_config["AIConfig"]["limits"]["limits_enabled"]
else 10
),
"model": v0_config["AIConfig"]["ai_model"],
"model": 'gpt-4o-mini',
},
"assignments": {"enabled": True, "limit": 10},
"payments": {"enabled": False, "stripe_key": ""},