Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Revert "chore(test): reformat tool call arguments in e2e and playwright specs"

Steven Enamakeldb6561858c10
diff --git a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
index 77823205c9..4a278d217b 100644
--- a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
+++ b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
@@ -51,9 +51,7 @@ const WALLET_PROMPT = `Send John $5 on EVM at ${JOHN_ADDRESS} and tell me ${CANA
function web3Call(id: string, tool: string, args: Record<string, unknown>) {
return {
content: '',
- toolCalls: [
- { id, name: 'use_skill', arguments: JSON.stringify({ skill: 'web3', tool, args }) },
- ],
+ toolCalls: [{ id, name: 'use_skill', arguments: JSON.stringify({ skill: 'web3', tool, args }) }],
};
}
diff --git a/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts b/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts
index 76ef644634..09d142970b 100644
--- a/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts
+++ b/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts
@@ -136,11 +136,11 @@ test.describe('Harness - Cron prompt-flow', () => {
skill: 'scheduling',
tool: 'cron',
args: {
- action: 'add',
- name: 'morning_reminder',
- schedule: { kind: 'cron', expr: '0 9 * * *' },
- prompt: 'morning reminder',
- enabled: true,
+ action: 'add',
+ name: 'morning_reminder',
+ schedule: { kind: 'cron', expr: '0 9 * * *' },
+ prompt: 'morning reminder',
+ enabled: true,
},
}),
},
@@ -195,9 +195,9 @@ test.describe('Harness - Cron prompt-flow', () => {
skill: 'scheduling',
tool: 'cron',
args: {
- action: 'update',
- job_id: 'morning_reminder_update_test',
- patch: { schedule: { kind: 'cron', expr: '0 8 * * *' } },
+ action: 'update',
+ job_id: 'morning_reminder_update_test',
+ patch: { schedule: { kind: 'cron', expr: '0 8 * * *' } },
},
}),
},
@@ -227,7 +227,10 @@ test.describe('Harness - Cron prompt-flow', () => {
arguments: JSON.stringify({
skill: 'scheduling',
tool: 'cron',
- args: { action: 'remove', job_id: 'morning_reminder_delete_test' },
+ args: {
+ action: 'remove',
+ job_id: 'morning_reminder_delete_test',
+ },
}),
},
],