Skip to content

Commit

Permalink
Fix int
Browse files Browse the repository at this point in the history
Signed-off-by: adshao <[email protected]>
  • Loading branch information
adshao committed Mar 3, 2023
1 parent 83b649c commit 5c7e561
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@ inputs:
description: The base URL for the GitHub API.'
MAX_CODE_LENGTH:
description: 'The maximum code length for the pull request to be sent to OpenAI.'
default: 3000,
default: 3000
type: int
PROMPT_TEMPLATE:
description: 'The template for the FULL_REVIEW_COMMENT prompt.'
default: 'Please analyze the pull request''s code and inform me whether it requires optimization, and provide a ${language} explanation for your decision:
\`\`\`${code}\`\`\`'
ANSWER_TEMPLATE:
description: 'The template for the answer sent to the GitHub comment.'
default: 'AI Code Review:
${answer}'

runs:
Expand Down

0 comments on commit 5c7e561

Please sign in to comment.