mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56:47 +00:00
feat(openai): add base url to change openai host (#1)
* feat(openai): add base url to change openai host * feat(openai): add deployment and api version * feat(openai): log * feat(openai): return json * feat(openai): finish integration
This commit is contained in:
parent
a9a064dfa1
commit
2bc0b14bb0
8 changed files with 3806 additions and 5074 deletions
7
.github/workflows/code_review.yml
vendored
7
.github/workflows/code_review.yml
vendored
|
@ -12,9 +12,12 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Code Review
|
||||
uses: freeedcom/ai-codereviewer@main
|
||||
uses: oev-berlin/ai-codereviewer@main
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_API_MODEL: "gpt-4-1106-preview"
|
||||
OPENAI_API_MODEL: "gpt-4o"
|
||||
OPENAI_API_BASE_URL: ${{ secrets.OPENAI_API_BASE_URL }}
|
||||
OPENAI_API_DEPLOYMENT: ${{ secrets.OPENAI_API_DEPLOYMENT }}
|
||||
OPENAI_API_VERSION: ${{ secrets.OPENAI_API_VERSION }}
|
||||
exclude: "yarn.lock,dist/**"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue