Merge pull request #722 from hungthai1401/bugfix/remove-extra-args

Fixed incorrect function signature call to `NewBaseAPIHandlers`
This commit is contained in:
Luis Pater
2025-12-26 02:56:56 +08:00
committed by GitHub

View File

@@ -99,7 +99,7 @@ func TestExecuteStreamWithAuthManager_RetriesBeforeFirstByte(t *testing.T) {
Streaming: sdkconfig.StreamingConfig{
BootstrapRetries: &bootstrapRetries,
},
}, manager, nil)
}, manager)
dataChan, errChan := handler.ExecuteStreamWithAuthManager(context.Background(), "openai", "test-model", []byte(`{"model":"test-model"}`), "")
if dataChan == nil || errChan == nil {
t.Fatalf("expected non-nil channels")