mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56:47 +00:00
Fixed issues around the Azure OpenAI API in the code reviewer
This commit is contained in:
parent
cb0db573b8
commit
ea35bd1354
15 changed files with 5705 additions and 348 deletions
28
act/fixtures/action.yml
Normal file
28
act/fixtures/action.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: "CDS AI Code Review Action (act fixture)"
|
||||
description: "Perform code reviews and comment on diffs using OpenAI API."
|
||||
inputs:
|
||||
GITHUB_TOKEN:
|
||||
description: "GitHub token to interact with the repository."
|
||||
required: true
|
||||
OPENAI_API_KEY:
|
||||
description: "OpenAI API key for GPT."
|
||||
required: true
|
||||
OPENAI_API_MODEL:
|
||||
description: "OpenAI API model."
|
||||
required: true
|
||||
OPENAI_API_VERSION:
|
||||
description: "OpenAI API version."
|
||||
required: true
|
||||
OPENAI_BASE_URL:
|
||||
description: "Base URL to the OpenAI API model (OpenAI or Azure)."
|
||||
required: true
|
||||
exclude:
|
||||
description: "Glob patterns to exclude files from the diff analysis"
|
||||
required: false
|
||||
default: ""
|
||||
runs:
|
||||
using: "node16"
|
||||
main: "dist/index.js"
|
||||
branding:
|
||||
icon: "aperture"
|
||||
color: "green"
|
Loading…
Add table
Add a link
Reference in a new issue