diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 4372a3f..1a7208e 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -26,8 +26,8 @@ jobs: PROMPT: # example: Please check if there are any confusions or irregularities in the following code diff: top_p: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-top_p temperature: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature - max_tokens: 4097 - MAX_PATCH_LENGTH: 4097 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length. + max_tokens: 3000 + MAX_PATCH_LENGTH: 3000 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length. # build: # runs-on: self-hosted # steps: