Compare commits
1 Commits
591eb227b3
...
master
Author | SHA1 | Date | |
---|---|---|---|
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'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user