fix: update task for ai requests (#1368)

This commit is contained in:
Aaryan Khandelwal 2023-06-23 19:29:36 +05:30 committed by GitHub
parent ff87137e40
commit ca799a2b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -200,7 +200,7 @@ export const IssueForm: FC<IssueFormProps> = ({
projectId as string, projectId as string,
{ {
prompt: issueName, prompt: issueName,
task: "Generate a proper description for this issue in context of a project management software.", task: "Generate a proper description for this issue.",
}, },
user user
) )

View File

@ -195,7 +195,7 @@ export const CreateUpdateBlockInline: React.FC<Props> = ({
projectId as string, projectId as string,
{ {
prompt: watch("name"), prompt: watch("name"),
task: "Generate a proper description for this issue in context of a project management software.", task: "Generate a proper description for this issue.",
}, },
user user
) )

View File

@ -194,7 +194,7 @@ export const SinglePageBlock: React.FC<Props> = ({ block, projectDetails, index,
projectId as string, projectId as string,
{ {
prompt: block.name, prompt: block.name,
task: "Generate a proper description for this issue in context of a project management software.", task: "Generate a proper description for this issue.",
}, },
user user
) )