feat(schedule): 优化排程任务配置与进度契约处理逻辑
This commit is contained in:
1 parent
d54f51ddc3
commit
99453aa52a
65 files changed
+2837
-487
No files matched your search
@@ -58,7 +58,30 @@ agent_types:
|
||||
- ShippingTask
|
||||
- ShippingTaskEvent
|
||||
required_fields: []
|
||||
forced_capabilities: {}
|
||||
default_capabilities:
|
||||
file_upload: true
|
||||
task_progress: true
|
||||
forced_capabilities:
|
||||
file_upload: true
|
||||
task_progress: true
|
||||
human_confirm: true
|
||||
progress_contract:
|
||||
enabled: true
|
||||
data_source:
|
||||
type: domain_state
|
||||
domain: shipping_notice
|
||||
update:
|
||||
transport: sse
|
||||
event: shipping_ui_state
|
||||
binding:
|
||||
type: conversation_context
|
||||
keys:
|
||||
- batch_no
|
||||
- task_no
|
||||
requires_schedule_task: false
|
||||
presentation:
|
||||
layout: workspace
|
||||
visualization: stepper
|
||||
handler_config_schema: {}
|
||||
file_check:
|
||||
label: 文件检核
|
||||
@@ -70,6 +93,20 @@ agent_types:
|
||||
- bound_schedule_task_id
|
||||
forced_capabilities:
|
||||
task_progress: true
|
||||
progress_contract:
|
||||
enabled: true
|
||||
data_source:
|
||||
type: schedule_run
|
||||
update:
|
||||
transport: polling
|
||||
interval_seconds: 2
|
||||
binding:
|
||||
type: chat_log_run
|
||||
fallback: chat_log_id
|
||||
requires_schedule_task: true
|
||||
presentation:
|
||||
layout: card
|
||||
visualization: counter
|
||||
handler_config_schema:
|
||||
poll_interval_seconds:
|
||||
type: integer
|
||||
|
||||
Reference in new issue
Block a user