Skip to content

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

chore: format search tool flow test

Steven Enamakel427a37fff935
diff --git a/app/test/playwright/specs/harness-search-tool-flow.spec.ts b/app/test/playwright/specs/harness-search-tool-flow.spec.ts
index cdb2775c7d..60fcadfdd4 100644
--- a/app/test/playwright/specs/harness-search-tool-flow.spec.ts
+++ b/app/test/playwright/specs/harness-search-tool-flow.spec.ts
@@ -117,7 +117,11 @@ async function sendMessage(page: Page, prompt: string): Promise<void> {
await page.getByTestId('send-message-button').click();
}
-async function toolTimelineIncludes(page: Page, threadId: string, toolName: string): Promise<boolean> {
+async function toolTimelineIncludes(
+ page: Page,
+ threadId: string,
+ toolName: string
+): Promise<boolean> {
return page.evaluate(
({ currentThreadId, expectedTool }) => {
const store = (
@@ -129,7 +133,8 @@ async function toolTimelineIncludes(page: Page, threadId: string, toolName: stri
};
}
).__OPENHUMAN_STORE__;
- const entries = store?.getState?.().chatRuntime?.toolTimelineByThread?.[currentThreadId] ?? [];
+ const entries =
+ store?.getState?.().chatRuntime?.toolTimelineByThread?.[currentThreadId] ?? [];
return entries.some(entry => entry.name === expectedTool);
},
{ currentThreadId: threadId, expectedTool: toolName }