feat: Check and compare the DSL version before import an app (#10969)
Co-authored-by: Yi <yxiaoisme@gmail.com>
This commit is contained in:
parent
d9579f418d
commit
5172f0bf39
24 changed files with 1101 additions and 874 deletions
|
|
@ -155,7 +155,7 @@ class AppService:
|
|||
"""
|
||||
# get original app model config
|
||||
if app.mode == AppMode.AGENT_CHAT.value or app.is_agent:
|
||||
model_config: AppModelConfig = app.app_model_config
|
||||
model_config = app.app_model_config
|
||||
agent_mode = model_config.agent_mode_dict
|
||||
# decrypt agent tool parameters if it's secret-input
|
||||
for tool in agent_mode.get("tools") or []:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue