diff --git a/pkg/grpc/base/base.go b/pkg/grpc/base/base.go index 95dca561..3356f86b 100644 --- a/pkg/grpc/base/base.go +++ b/pkg/grpc/base/base.go @@ -41,6 +41,7 @@ func (llm *Base) Predict(opts *pb.PredictOptions) (string, error) { } func (llm *Base) PredictStream(opts *pb.PredictOptions, results chan string) error { + close(results) return fmt.Errorf("unimplemented") }