mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
* Redesign routine create requests for LLMs * Fix panic-check false positives in routine tests * Tighten routine schema requirements * Tighten routine schema tests * Mark test assertions safe for CI scan * Align test assertions with panic scan * Polish routine schema metadata * Simplify routine test assertions * Improve tool discovery guidance * Clarify lightweight routine delivery prompts * Fix routine delivery target defaults
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"model_name": "test-routine-create-grouped",
|
|
"expects": {
|
|
"tools_used": ["routine_create", "routine_list"],
|
|
"all_tools_succeeded": true,
|
|
"min_responses": 1
|
|
},
|
|
"steps": [
|
|
{
|
|
"response": {
|
|
"type": "tool_calls",
|
|
"tool_calls": [
|
|
{
|
|
"id": "call_rc_grouped_1",
|
|
"name": "routine_create",
|
|
"arguments": {
|
|
"name": "weekday-digest",
|
|
"prompt": "Prepare the morning digest for the ops team.",
|
|
"description": "Weekday digest for morning operations",
|
|
"request": {
|
|
"kind": "cron",
|
|
"schedule": "0 0 9 * * MON-FRI",
|
|
"timezone": "UTC"
|
|
},
|
|
"execution": {
|
|
"mode": "full_job",
|
|
"tool_permissions": ["message", "http"]
|
|
},
|
|
"delivery": {
|
|
"channel": "telegram",
|
|
"user": "ops-team"
|
|
},
|
|
"advanced": {
|
|
"cooldown_secs": 30
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"input_tokens": 130,
|
|
"output_tokens": 44
|
|
}
|
|
},
|
|
{
|
|
"response": {
|
|
"type": "tool_calls",
|
|
"tool_calls": [
|
|
{
|
|
"id": "call_rl_grouped_1",
|
|
"name": "routine_list",
|
|
"arguments": {}
|
|
}
|
|
],
|
|
"input_tokens": 190,
|
|
"output_tokens": 20
|
|
}
|
|
},
|
|
{
|
|
"response": {
|
|
"type": "text",
|
|
"content": "Created the weekday-digest routine with a grouped cron request and listed the active routines.",
|
|
"input_tokens": 250,
|
|
"output_tokens": 24
|
|
}
|
|
}
|
|
]
|
|
}
|