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