mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-11-10 02:24:11 +00:00
Merge pull request #1 from Shopometry/task/add-fix-model
This commit is contained in:
commit
2ac0c57eec
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -151,7 +151,7 @@ function getAIResponse(prompt) {
|
|||
return {
|
||||
model: OPENAI_API_MODEL,
|
||||
temperature: 0.2,
|
||||
max_tokens: 1400,
|
||||
max_completion_tokens: 1400,
|
||||
top_p: 1,
|
||||
frequency_penalty: 0,
|
||||
presence_penalty: 0
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ async function getAIResponse(prompt: string): Promise<Array<{
|
|||
return {
|
||||
model: OPENAI_API_MODEL,
|
||||
temperature: 0.2,
|
||||
max_tokens: 1400,
|
||||
max_completion_tokens: 1400,
|
||||
top_p: 1,
|
||||
frequency_penalty: 0,
|
||||
presence_penalty: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue