feat: intégration de tous les fournisseurs d'IA (OpenRouter, Gemini, Groq, DeepSeek, Mistral, Cloudflare, HF) dans la base de données et l'interface d'installation
Build and Push Docker Image / build-and-push (push) Successful in 42s
Build and Push Docker Image / build-and-push (push) Successful in 42s
This commit is contained in:
1 parent
22c640837c
commit
43be6b5be6
4 files changed
+82
-15
No files matched your search
+8
-1
@@ -84,8 +84,15 @@ def create_admin(admin_data: AdminCreate, db: Session = Depends(get_db)):
|
||||
smtp_port=admin_data.smtp_port,
|
||||
smtp_user=admin_data.smtp_user,
|
||||
smtp_password=admin_data.smtp_password,
|
||||
openrouter_api_key=admin_data.openrouter_api_key,
|
||||
openrouter_management_key=admin_data.openrouter_management_key,
|
||||
groq_api_key=admin_data.groq_api_key,
|
||||
gemini_api_key=admin_data.gemini_api_key,
|
||||
openrouter_api_key=admin_data.openrouter_api_key
|
||||
deepseek_api_key=admin_data.deepseek_api_key,
|
||||
mistral_api_key=admin_data.mistral_api_key,
|
||||
cloudflare_account_id=admin_data.cloudflare_account_id,
|
||||
cloudflare_api_token=admin_data.cloudflare_api_token,
|
||||
huggingface_api_key=admin_data.huggingface_api_key
|
||||
)
|
||||
db.add(new_settings)
|
||||
|
||||
|
||||
Reference in new issue
Block a user