mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 01:26:47 +00:00
Use max_completion_tokens instead of max-tokens since it doesnt work for o3 model
This commit is contained in:
parent
6f7b3de062
commit
1ddb1c2953
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ async function getAIResponse(prompt: string): Promise<Array<{
|
|||
const queryConfig = {
|
||||
model: OPENAI_API_MODEL,
|
||||
temperature: 0.2,
|
||||
max_tokens: maxResponseTokens,
|
||||
max_completion_tokens: maxResponseTokens,
|
||||
top_p: 1,
|
||||
frequency_penalty: 0,
|
||||
presence_penalty: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue