forked from Talon/tardis-bot
Change GPT 4 to GPT 4O in chat module
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user