From 092ff22de311b8b38c49c56b2f6e51561eb09719 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Tue, 28 Oct 2025 17:29:15 -0300 Subject: [PATCH] fix(agent-test): instruct the model to not output the file timestamp Or the cassettes won't because because they are not deterministic. --- internal/agent/agent_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/agent/agent_test.go b/internal/agent/agent_test.go index 3719a1150901e621b7998a9f1e7be0a2aa3ef4b8..84a09e81a180c8b50cfeece85bf337fd65ff3dd6 100644 --- a/internal/agent/agent_test.go +++ b/internal/agent/agent_test.go @@ -165,7 +165,7 @@ func TestCoderAgent(t *testing.T) { require.NoError(t, err) res, err := agent.Run(t.Context(), SessionAgentCall{ - Prompt: "use bash to create a file named test.txt with content 'hello bash'", + Prompt: "use bash to create a file named test.txt with content 'hello bash'. do not print its timestamp", SessionID: session.ID, MaxOutputTokens: 10000, })