feat(schedule):cron支持图形,RoHS检核增加进度显示

This commit is contained in:
hugo committed 2026-06-15 13:42:15 +08:00
1 parent 6d0e78be81
commit f5aac9c893
46 files changed
+1987 -221

No files matched your search

+6
View File
@@ -1623,6 +1623,12 @@ def get_agent_details(id):
if not has_permission:
raise ForbiddenError('Access denied')
extra_config = agent.extra_config or {}
if isinstance(extra_config, dict):
from app.services.rohs_check_tools.agent_resolver import is_rohs_check_chat_agent
from app.services.rohs_check_tools.task_resolver import enrich_tool_run_progress_extra
if is_rohs_check_chat_agent(agent):
extra_config = enrich_tool_run_progress_extra(extra_config)
dify_app_type = extra_config.get('dify_app_type') if isinstance(extra_config, dict) else None
dify_parameters = None