diff --git a/action.yml b/action.yml index dc9ca06..797fb78 100644 --- a/action.yml +++ b/action.yml @@ -62,7 +62,6 @@ runs: GITHUB_PULL_REQUEST_NUMBER: ${{ inputs.githubPullRequestNumber }} GIT_COMMIT_HASH: ${{ inputs.gitCommitHash }} args: - - "--repo-id=${{ inputs.repoId }}" - "--temperature=${{ inputs.temperature }}" - "--max-new-tokens=${{ inputs.maxNewTokens }}" - "--top-p=${{ inputs.topP }}" diff --git a/entrypoint.py b/entrypoint.py index 8d46400..f9861b7 100755 --- a/entrypoint.py +++ b/entrypoint.py @@ -77,7 +77,7 @@ def get_review( # Get summary by chunk chunked_reviews = [] llm = OpenAI( - openai_api_key=os.getenv("API_KEY"), + openai_api_key=os.getenv("OPENAI_API_KEY"), model="gpt-3.5-turbo", temperature=temperature, max_new_tokens=max_new_tokens,