From 35b80b422d5aab9dcb53e0020693327d92e969b7 Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 27 Mar 2023 23:36:00 +0530 Subject: [PATCH] fix: gpt task and prompt (#537) --- apiserver/plane/api/views/gpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/gpt.py b/apiserver/plane/api/views/gpt.py index 6c7b11157..c470593bf 100644 --- a/apiserver/plane/api/views/gpt.py +++ b/apiserver/plane/api/views/gpt.py @@ -34,7 +34,7 @@ class GPTIntegrationEndpoint(BaseAPIView): status=status.HTTP_400_BAD_REQUEST, ) - final_text = task + prompt + final_text = task + "\n" + prompt openai.api_key = settings.OPENAI_API_KEY response = openai.Completion.create(