Skip to content

Commit

Permalink
Update models
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed Aug 11, 2024
1 parent 0f69171 commit 7a372ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/directives/chatbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const chatbot = {
.getClient()
.chat.completions.create({
max_tokens: 256,
model: 'gpt-4o-mini',
model: 'gpt-4o-2024-08-06',
messages: [{ role: 'system', content: prompt }, ...lastMessages],
});

Expand Down
2 changes: 1 addition & 1 deletion src/directives/moderator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const moderator = {
const openAiService = new OpenAiApiService();
const response = await openAiService.getClient().chat.completions.create({
max_tokens: 256,
model: 'gpt-4o-2024-08-06',
model: 'gpt-4o-mini',
messages: [
{ role: 'system', content: prompt },
{
Expand Down

0 comments on commit 7a372ad

Please sign in to comment.