From fdf48686f0eb15462b6ea90a5034801109b89923 Mon Sep 17 00:00:00 2001 From: Boyuan Chen Date: Mon, 19 Dec 2022 16:23:35 -0500 Subject: [PATCH] non streamd None --- copilot_proxy/utils/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copilot_proxy/utils/codegen.py b/copilot_proxy/utils/codegen.py index 5bce67d..10d8670 100644 --- a/copilot_proxy/utils/codegen.py +++ b/copilot_proxy/utils/codegen.py @@ -318,4 +318,4 @@ def __call__(self, data: dict): return self.streamed_response(completion, choices, lp_data) else: # print(f"non streamed response is {self.non_streamed_response(completion, choices, lp_data)}") - return self.non_streamed_response(completion, choices, lp_data) + return self.non_streamed_response(completion, choices, None)