Skip to content

Commit b221e08

Browse files
committed
chore: format
1 parent 8040d93 commit b221e08

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

internal/agent/context_replay_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ func TestRun_ReplaysPersistedHistoryWithoutChangingPromptPrefix(t *testing.T) {
238238
"Echo the input.",
239239
func(_ context.Context, input struct {
240240
Message string `json:"message"`
241-
}, _ fantasy.ToolCall) (fantasy.ToolResponse, error) {
241+
}, _ fantasy.ToolCall,
242+
) (fantasy.ToolResponse, error) {
242243
return fantasy.NewTextResponse("Echo: " + input.Message), nil
243244
},
244245
)
@@ -311,7 +312,8 @@ func TestRun_ReplaysLongOpenAIHistoryWithoutChangingWirePrefix(t *testing.T) {
311312
"Echo the input.",
312313
func(_ context.Context, input struct {
313314
Message string `json:"message"`
314-
}, _ fantasy.ToolCall) (fantasy.ToolResponse, error) {
315+
}, _ fantasy.ToolCall,
316+
) (fantasy.ToolResponse, error) {
315317
response := fantasy.NewTextResponse("Echo: " + input.Message)
316318
return fantasy.WithResponseMetadata(response, map[string]string{"source": input.Message}), nil
317319
},

internal/agent/folded_prompt_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ func TestRun_PreservesFoldedQueuedPromptAcrossAutonomousSteps(t *testing.T) {
9191
"Echo the input.",
9292
func(_ context.Context, input struct {
9393
Message string `json:"message"`
94-
}, _ fantasy.ToolCall) (fantasy.ToolResponse, error) {
94+
}, _ fantasy.ToolCall,
95+
) (fantasy.ToolResponse, error) {
9596
return fantasy.NewTextResponse("Echo: " + input.Message), nil
9697
},
9798
)

0 commit comments

Comments
 (0)