on main help sign in
fix(agent-test): instruct the model to not output the file timestamp

Or the cassettes won't because because they are not deterministic.

commit092ff22de311b8b38c49c56b2f6e51561eb09719 authorAndrey Nering <andreynering@users.noreply.github.com> dateTue 28 Oct 2025, 17:29 (1 year ago) parent68fcf9f
1 file changed+1−1
internal/agent/agent_test.go+1−1
internal/agent/agent_test.go+1−1
@@ -165,7 +165,7 @@ func TestCoderAgent(t *testing.T) {
165165 require.NoError(t, err)
166166
167167 res, err := agent.Run(t.Context(), SessionAgentCall{
168− Prompt: "use bash to create a file named test.txt with content 'hello bash'",
168+ Prompt: "use bash to create a file named test.txt with content 'hello bash'. do not print its timestamp",
169169 SessionID: session.ID,
170170 MaxOutputTokens: 10000,
171171 })