mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: gpt task and prompt (#537)
This commit is contained in:
parent
d6ffc3176e
commit
35b80b422d
@ -34,7 +34,7 @@ class GPTIntegrationEndpoint(BaseAPIView):
|
|||||||
status=status.HTTP_400_BAD_REQUEST,
|
status=status.HTTP_400_BAD_REQUEST,
|
||||||
)
|
)
|
||||||
|
|
||||||
final_text = task + prompt
|
final_text = task + "\n" + prompt
|
||||||
|
|
||||||
openai.api_key = settings.OPENAI_API_KEY
|
openai.api_key = settings.OPENAI_API_KEY
|
||||||
response = openai.Completion.create(
|
response = openai.Completion.create(
|
||||||
|
Loading…
Reference in New Issue
Block a user