diff options
Diffstat (limited to 'internal/hexaicli/run_more_test.go')
| -rw-r--r-- | internal/hexaicli/run_more_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/hexaicli/run_more_test.go b/internal/hexaicli/run_more_test.go index bd88d56..469f0c0 100644 --- a/internal/hexaicli/run_more_test.go +++ b/internal/hexaicli/run_more_test.go @@ -26,7 +26,8 @@ func TestRunChat_Streaming(t *testing.T) { var out, errw bytes.Buffer input := "hello" msgs := []llm.Message{{Role: "user", Content: input}} - if err := runChat(context.Background(), streamClient{}, msgs, input, &out, &errw); err != nil { + req := requestArgs{model: "m"} + if err := runChat(context.Background(), streamClient{}, req, msgs, input, &out, &errw); err != nil { t.Fatalf("runChat failed: %v", err) } if out.String() != "AB" { |
