mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-23 21:06:39 +00:00
TaskSchedule model fields (minute, hour, day, month, weekday) are typed as str, but LLMs frequently pass integers (e.g. 0, 9). Pydantic v2 does not auto-coerce int to str, causing ValidationError when creating scheduled tasks. Fix wraps all schedule dict values with str() in both construction sites: - tools/scheduler.py: create_scheduled_task() - helpers/task_scheduler.py: parse_task_schedule() |
||
|---|---|---|
| .. | ||
| a2a_chat.py | ||
| browser._py | ||
| browser_do._py | ||
| browser_open._py | ||
| call_subordinate.py | ||
| document_query.py | ||
| knowledge_tool._py | ||
| notify_user.py | ||
| response.py | ||
| scheduler.py | ||
| search_engine.py | ||
| skills_tool.py | ||
| unknown.py | ||
| vision_load.py | ||
| wait.py | ||