mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 01:26:47 +00:00
Update package.json contributors and fixed max_tokens bug
This commit is contained in:
parent
4701f87d09
commit
6386276c5a
4 changed files with 20 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -205,7 +205,7 @@ ${chunk.changes
|
||||||
const queryConfig = {
|
const queryConfig = {
|
||||||
model: OPENAI_API_MODEL,
|
model: OPENAI_API_MODEL,
|
||||||
temperature: 0.1,
|
temperature: 0.1,
|
||||||
max_tokens: 700,
|
max_completion_tokens: 700,
|
||||||
top_p: 1,
|
top_p: 1,
|
||||||
frequency_penalty: 0,
|
frequency_penalty: 0,
|
||||||
presence_penalty: 0,
|
presence_penalty: 0,
|
||||||
|
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
17
package.json
17
package.json
|
@ -4,6 +4,23 @@
|
||||||
"description": "Open AI powered code reviews",
|
"description": "Open AI powered code reviews",
|
||||||
"main": "lib/main.js",
|
"main": "lib/main.js",
|
||||||
"author": "Ville Saukkonen",
|
"author": "Ville Saukkonen",
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"name": "Ville Saukkonen",
|
||||||
|
"url": "https://github.com/villesau"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Will Poynter",
|
||||||
|
"email": "will@researchwiseai.com",
|
||||||
|
"url": "https://researchwiseai.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"maintainers": [
|
||||||
|
{
|
||||||
|
"name": "Will Poynter",
|
||||||
|
"email": "will@researchwiseai.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|
|
@ -117,7 +117,7 @@ async function getAIResponse(prompt: string): Promise<Array<{
|
||||||
const queryConfig = {
|
const queryConfig = {
|
||||||
model: OPENAI_API_MODEL,
|
model: OPENAI_API_MODEL,
|
||||||
temperature: 0.1,
|
temperature: 0.1,
|
||||||
max_tokens: 700,
|
max_completion_tokens: 700,
|
||||||
top_p: 1,
|
top_p: 1,
|
||||||
frequency_penalty: 0,
|
frequency_penalty: 0,
|
||||||
presence_penalty: 0,
|
presence_penalty: 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue