on main help sign in
fix(agent-test): instruct the model to not output the file timestamp
092ff22Andrey Nering
internal/agent/agent_test.go+1−1
@@ -165,7 +165,7 @@ func TestCoderAgent(t *testing.T) {
165 require.NoError(t, err)
165 require.NoError(t, err)
166
166
167 res, err := agent.Run(t.Context(), SessionAgentCall{
167 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",
169 SessionID: session.ID,
169 SessionID: session.ID,
170 MaxOutputTokens: 10000,
170 MaxOutputTokens: 10000,
171 })
171 })