Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e/scenarios/eve-instrumentation/scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ async function main() {
seenSessionIds,
"session.waiting",
);
// Eve can publish the waiting boundary just before the completed turn's
// model history becomes visible to a follow-up request.
await new Promise((resolve) => setTimeout(resolve, 1000));
const followUp = await fetch(
`${baseUrl}/eve/v1/session/${body.sessionId}`,
{
Expand All @@ -122,6 +119,9 @@ async function main() {
? { continuationToken: body.continuationToken }
: {}),
message: "Run the Braintrust Eve instrumentation e2e scenario again",
// Queue the follow-up if the waiting event arrives while Eve is still
// committing the completed turn's model history.
turnPolicy: "queue",
}),
headers: { "content-type": "application/json" },
method: "POST",
Expand Down
Loading