Skip to content

Commit 31ec1b0

Browse files
authored
feat: update prompting for tool call test (#31)
1 parent dfb8508 commit 31ec1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/custom.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def secret_message():
108108
messages: [
109109
{
110110
role: "user",
111-
content: "Run secret message tool and tell me what it returns",
111+
content: "This is an automated test message. Run secret message tool and tell me what it returns",
112112
},
113113
],
114114
});
@@ -203,7 +203,7 @@ def secret_message():
203203
expect(messages[2]).toHaveProperty("messageType", "assistant_message");
204204

205205
// Send message with streaming
206-
messageText = "My name isn't Caren, it's Sarah. Please update your core memory with memory_replace";
206+
messageText = "This is an automated test. Please update your core memory with my new name Sarah using the memory_replace tool";
207207
const streamResponse = await client.agents.messages.createStream(agent.id, {
208208
messages: [
209209
{

0 commit comments

Comments
 (0)