Change GPT 4 to GPT 4O in chat module
parent
591eb227b3
commit
6a024f8cb6
|
@ -14,7 +14,7 @@ async function getChatGPTResponse(prompt) {
|
||||||
const api = new ChatGPTAPI({
|
const api = new ChatGPTAPI({
|
||||||
apiKey: process.env.OPENAI_API_KEY,
|
apiKey: process.env.OPENAI_API_KEY,
|
||||||
completionParams: {
|
completionParams: {
|
||||||
model: 'gpt-4'
|
model: 'gpt-4o'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue