diff --git a/ex_app/lib/all_tools/assignments.py b/ex_app/lib/all_tools/assignments.py index 3a82d45..c7e36ff 100644 --- a/ex_app/lib/all_tools/assignments.py +++ b/ex_app/lib/all_tools/assignments.py @@ -21,7 +21,7 @@ async def create_scheduled_task(title: str, prompt: str, recurrence_rule: str, t prompt argument for this tool would be "Transcribe new files in folder /Audio" and the recurrence_rule would be "FREQ=HOURLY". After having created the Scheduled Task, let the user know that the Scheduled Task will run in a newly created chat session. :param title: A title for the Scheduled Task, e.g. "Transcribe audio files" -- This is only for the user's reference and has no effect on the execution of the Scheduled Task. - :param prompt: The instructions for the AI carrying out the Scheduled Task + :param prompt: The instructions for the agent carrying out the Scheduled Task (Do not tell it to create a scheduled task here, as this is the instruction that runs as the scheduled task already. So instead of "Create a scheduled task to do X", just pass "Do X" here) :param recurrence_rule: An RRule compliant with RFC 5545 that defines the recurrence rule for the Scheduled Task. For example "FREQ=DAILY;INTERVAL=1" to run the Scheduled Task every day, an empty string as the recurrence_rule means the task does not repeat. :param starts_at: A date time string in ISO 8601 format that defines when the Scheduled Task should start. For example "2025-01-01T09:00:00Z". If not provided, the Scheduled Task will start immediately. Make sure to use the user's timezone for this, obtainable with find_details_of_current_user :param timezone: Timezone (e.g., 'America/New_York') defaults to the user's current time zone @@ -54,7 +54,7 @@ async def update_scheduled_task(id: int, prompt: None|str = None, recurrence_rul """ Update a assistant Scheduled Task :param id: The ID of the Scheduled Task to update, you can obtain this from the list_scheduled_tasks tool - :param prompt: The instructions for the AI carrying out the Scheduled Task. Pass `None` to leave this unchanged. + :param prompt: The instructions for the AI carrying out the Scheduled Task. Pass `None` to leave this unchanged. (Do not tell the other AI to create a scheduled task here, as this is the instruction that runs as the scheduled task already. So instead of "Create a scheduled task to do X", just pass "Do X" here) :param recurrence_rule: An RRule compliant with RFC 5545 that defines the recurrence rule for the Scheduled Task. For example "FREQ=DAILY;INTERVAL=1" to run the Scheduled Task every day. An empty string means, it does not repeat. Pass `None` to leave this unchanged. :param timezone A timezone for the scheduled task, set to None to leave this as is. :param starts_at: A date time string in ISO 8601 format that defines when the Scheduled Task should start. For example "2025-01-01T09:00:00Z". If not provided, the Scheduled Task will start immediately. Pass `None` to leave this unchanged.