fix(agent and model):

1. From the model square to the model list, the added models are initially set to be inactive. When manually activating them, a mandatory API key configuration is required.
2. Copying of applications (agent, workflow, multi_agent)
This commit is contained in:
Timebomb2018
2026-03-06 14:40:07 +08:00
parent f1c5f24f6b
commit af6fde414f
4 changed files with 52 additions and 1 deletions

View File

@@ -780,6 +780,7 @@ class ModelBaseService:
"description": model_base.description,
"capability": model_base.capability,
"is_omni": model_base.is_omni,
"is_active": False,
"is_composite": False
}
model_config = ModelConfigRepository.create(db, model_config_data)