Skip to content

chore(atomic): implement MSW mock of agent api#7174

Draft
erocheleau wants to merge 8 commits intomainfrom
SFINT-6636
Draft

chore(atomic): implement MSW mock of agent api#7174
erocheleau wants to merge 8 commits intomainfrom
SFINT-6636

Conversation

@erocheleau
Copy link
Collaborator

@erocheleau erocheleau commented Feb 25, 2026

SFINT-6636

I've added a story and a mock to atomic-generated-answer whenever we're using an agent-id.

WIP

Screen Shot 2026-02-25 at 6 13 03 PM

Comment on lines +205 to +214
const latencyStream = new TransformStream({
start() {},
async transform(chunk, controller) {
const message = messages[messageIndex];
const delayMs = message?.delayMs ?? defaultDelay;
await delay(delayMs);
messageIndex++;
controller.enqueue(chunk);
},
});
@erocheleau erocheleau deployed to Prerelease (CDN) February 26, 2026 23:06 — with GitHub Actions Active
@github-actions
Copy link

🔗 Scratch Orgs ready to test this PR:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants