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:
Felix Anhalt 2024-10-07 11:00:18 +02:00 committed by GitHub
parent a9a064dfa1
commit 2bc0b14bb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 3806 additions and 5074 deletions

View file

@ -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/**"