fix(agent-test): instruct the model to not output the file timestamp

Andrey Nering created

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

Change summary

internal/agent/agent_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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,
 				})