Skip to content

Commit

Permalink
feat: fix gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
willy-dunamu committed Sep 4, 2024
1 parent 9659166 commit 922c2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ runs:

- name: Run Code Review GPT
shell: bash
run: npx code-review-gpt review --ci=github --model=$MODEL
run: npx code-review-gpt review --ci=github --model=$MODEL --provider=$PROVIDER

env:
MODEL: ${{ inputs.MODEL }}
OPENAI_API_KEY: ${{ inputs.OPENAI_API_KEY }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
PROVIDER: ${{ inputs.PROVIDER }}

branding:
icon: 'code'
Expand Down
1 change: 0 additions & 1 deletion packages/code-review-gpt/src/common/model/AIModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class AIModel {
configuration: { organization: options.organization },
azureOpenAIApiVersion: '2024-04-01-preview',
azureOpenAIApiKey: options.apiKey,
// azureOpenAIApiInstanceName
azureOpenAIApiDeploymentName: 'D-OAI-model-deploy',
azureOpenAIBasePath: 'https://d-oai-dev.openai.azure.com',
});
Expand Down

0 comments on commit 922c2ce

Please sign in to comment.