Files
optimclaw/tests/fixtures/llm_traces/tools/routine_update_delete.json

69 lines
1.7 KiB
JSON

{
"model_name": "test-routine-update-delete",
"expects": {
"tools_used": ["routine_create", "routine_update", "routine_delete"],
"all_tools_succeeded": true,
"min_responses": 1
},
"steps": [
{
"response": {
"type": "tool_calls",
"tool_calls": [
{
"id": "call_rc_ud",
"name": "routine_create",
"arguments": {
"name": "temp-routine",
"trigger_type": "manual",
"prompt": "Temporary routine for testing."
}
}
],
"input_tokens": 100,
"output_tokens": 30
}
},
{
"response": {
"type": "tool_calls",
"tool_calls": [
{
"id": "call_ru_1",
"name": "routine_update",
"arguments": {
"name": "temp-routine",
"prompt": "Updated prompt for the temporary routine.",
"description": "Updated description"
}
}
],
"input_tokens": 200,
"output_tokens": 30
}
},
{
"response": {
"type": "tool_calls",
"tool_calls": [
{
"id": "call_rd_1",
"name": "routine_delete",
"arguments": { "name": "temp-routine" }
}
],
"input_tokens": 300,
"output_tokens": 20
}
},
{
"response": {
"type": "text",
"content": "Created, updated, and then deleted the temp-routine successfully. The update would have left it unverified until it was tested again.",
"input_tokens": 400,
"output_tokens": 20
}
}
]
}