GPT-4-Turbo
This commit is contained in:
@ -7,7 +7,6 @@ const openai = new OpenAI({
|
||||
apiKey: process.env.OPENAI_API_KEY
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-ignore
|
||||
@ApplyOptions<Command.Options>({
|
||||
description: 'You can ACTUALLY ask Himbot something! So cool!',
|
||||
@ -43,7 +42,7 @@ export class UserCommand extends Command {
|
||||
: await interactionOrMessage.reply({ content: '🤔 Thinking... 🤔', fetchReply: true });
|
||||
|
||||
const chatCompletion = await openai.chat.completions.create({
|
||||
model: 'gpt-4',
|
||||
model: 'gpt-4-1106-preview',
|
||||
messages: [
|
||||
{
|
||||
role: 'user',
|
||||
|
Reference in New Issue
Block a user