mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56:47 +00:00
feat(openai): finish integration
This commit is contained in:
parent
9fcdd61fa6
commit
b50cb2770c
2 changed files with 2 additions and 1 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -54,6 +54,7 @@ const OPENAI_API_MODEL = core.getInput("OPENAI_API_MODEL");
|
||||||
const OPENAI_API_DEPLOYMENT = core.getInput("OPENAI_API_DEPLOYMENT");
|
const OPENAI_API_DEPLOYMENT = core.getInput("OPENAI_API_DEPLOYMENT");
|
||||||
const OPENAI_API_VERSION = core.getInput("OPENAI_API_VERSION");
|
const OPENAI_API_VERSION = core.getInput("OPENAI_API_VERSION");
|
||||||
const OPENAI_API_BASE_URL = core.getInput("OPENAI_API_BASE_URL");
|
const OPENAI_API_BASE_URL = core.getInput("OPENAI_API_BASE_URL");
|
||||||
|
console.log(OPENAI_API_MODEL, OPENAI_API_DEPLOYMENT, OPENAI_API_VERSION, OPENAI_API_BASE_URL);
|
||||||
const octokit = new rest_1.Octokit({ auth: GITHUB_TOKEN });
|
const octokit = new rest_1.Octokit({ auth: GITHUB_TOKEN });
|
||||||
const openai = new openai_1.AzureOpenAI({
|
const openai = new openai_1.AzureOpenAI({
|
||||||
apiKey: OPENAI_API_KEY,
|
apiKey: OPENAI_API_KEY,
|
||||||
|
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue