deer-flow/contracts/scheduled_task_errors_contract.json
Totoro 5ae95e6a34
feat: add Feishu group notifications and fix mention caret placement (#6762)
* feat(feishu): deliver scheduled-task notifications to bound users

* feat: add Feishu group notifications and fix mention caret placement

* fix(frontend): preserve group targets while capabilities load

---------

Co-authored-by: Totoro-qaq <279883115+Totoro-qaq@users.noreply.github.com>
2026-10-13 07:17:56 +08:00

57 lines
1.5 KiB
JSON

{
"version": 1,
"description": "Error codes returned in detail.code by /api/scheduled-tasks* and by the schedule_task capability. The tasks page and chat card translate ui_codes (frontend/src/core/scheduled-tasks/errors.ts); agent_only_codes reach only the model.",
"ui_codes": [
"invalid_request",
"invalid_schedule",
"invalid_schedule_type",
"invalid_timezone",
"interval_too_short",
"interval_too_long",
"once_in_past",
"once_too_soon",
"once_time_passed",
"invalid_context_mode",
"reuse_thread_requires_thread",
"thread_not_found",
"invalid_assistant",
"unknown_assistant",
"invalid_goal",
"goal_requires_fresh_thread",
"invalid_stop_condition",
"invalid_notification_group",
"invalid_max_runs",
"end_at_in_past",
"end_at_before_first_run",
"frequent_requires_limit",
"max_runs_not_above_used",
"limits_exhausted",
"task_not_found",
"task_running",
"run_queued",
"task_changed",
"task_finished",
"task_quota_exceeded",
"scheduler_not_running",
"scheduler_unavailable",
"trigger_failed"
],
"agent_only_codes": [
"timezone_required",
"authentication_required",
"permission_denied",
"scheduler_tools_disabled",
"authority_expired",
"conversation_not_found",
"interactive_run_required",
"unsupported_action",
"unsupported_fields",
"task_id_required",
"note_not_verbatim",
"note_limit_reached",
"trial_requires_direct_request",
"no_stop_authority",
"occurrence_not_active"
]
}