Skip to content

Commit 09e7501

Browse files
committed
test(qa): target thread memory replies directly
1 parent 008640b commit 09e7501

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

qa/scenarios/memory/thread-memory-isolation.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,19 @@ steps:
7474
- set: beforeCursor
7575
value:
7676
expr: state.getSnapshot().messages.length
77-
- call: state.addInboundMessage
77+
- call: runAgentPrompt
7878
args:
79-
- conversation:
80-
id:
81-
expr: config.channelId
82-
kind: channel
83-
title:
84-
expr: config.channelTitle
85-
senderId: alice
86-
senderName: Alice
87-
text:
88-
expr: config.prompt
79+
- ref: env
80+
- sessionKey:
81+
expr: "`agent:qa:thread-memory:${threadId}`"
82+
to:
83+
expr: "`thread:${config.channelId}/${threadId}`"
8984
threadId:
9085
ref: threadId
91-
threadTitle:
92-
expr: config.threadTitle
86+
message:
87+
expr: config.prompt
88+
timeoutMs:
89+
expr: liveTurnTimeoutMs(env, 45000)
9390
- call: waitForOutboundMessage
9491
saveAs: outbound
9592
args:

0 commit comments

Comments
 (0)