Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private ToolDefinition buildToolDefinition() {
},
"schedule_value": {
"type": "string",
"description": "调度值:CRON模式为cron表达式;FIXED_DELAY/FIXED_RATE模式为毫秒数(如3分钟=180000);ONE_TIME模式为ISO时间戳"
"description": "调度值:CRON模式为6位cron表达式;FIXED_DELAY/FIXED_RATE模式为毫秒数(如3分钟=180000);ONE_TIME模式为ISO时间戳"
},
"condition_function": {
"type": "string",
Expand Down Expand Up @@ -225,7 +225,7 @@ private CodeactToolDefinition buildCodeactDefinition() {
.addParameter(ParameterNode.builder()
.name("schedule_value")
.type(ParameterType.STRING)
.description("调度值:CRON模式为cron表达式;FIXED_DELAY/FIXED_RATE模式为毫秒数(如3分钟=180000);ONE_TIME模式为ISO时间戳")
.description("调度值:CRON模式为6位cron表达式;FIXED_DELAY/FIXED_RATE模式为毫秒数(如3分钟=180000);ONE_TIME模式为ISO时间戳")
.required(true)
.build())
.addParameter(ParameterNode.builder()
Expand Down Expand Up @@ -267,7 +267,7 @@ private CodeactToolMetadata buildCodeactMetadata() {
result = trigger_tools.subscribe_trigger(
name="daily_task",
schedule_mode="CRON",
schedule_value="0 0 * * *",
schedule_value="0 0 0 * * ?",
execute_function="print('Daily execution')"
)
print(f"Trigger ID: {result['trigger_id']}")
Expand Down
Loading