Skip to content

Commit 80540af

Browse files
committed
fixup! test(e2e): Add a cloudflare-pi-durable end-to-end application
1 parent a717af2 commit 80540af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dev-packages/e2e-tests/test-applications/cloudflare-pi-durable/tests/pi-durable.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test('reports a throwing tool as an error on its execute_tool span', async ({ ba
9393
expect(tool.attributes['gen_ai.tool.name']?.value).toBe('fail_now');
9494
expect(tool.status).toBe('error');
9595
expect(tool.trace_id).toBe(error.contexts?.trace?.trace_id);
96-
expect(error.exception?.values?.[0]?.mechanism).toEqual({ type: 'auto.ai.pi_durable', handled: true });
96+
expect(error.exception?.values?.[0]?.mechanism).toEqual({ type: 'auto.ai.pi_durable', handled: false });
9797
});
9898

9999
test('resumes a run in a new trace after the Durable Object resets during a tool call', async ({ baseURL }) => {

0 commit comments

Comments
 (0)