Skip to content

Commit

Permalink
summary of recent commits:
Browse files Browse the repository at this point in the history
- prevented undefined chunks from getting added to stream
- max tokens for vision model upped to standard 4096 from tiny default
- changed defaults most places, still fixing
  • Loading branch information
JacKaL37 committed Feb 19, 2024
1 parent 0b26d9c commit c548955
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class DiscordOnMessageService {
model: 'gpt-4-vision-preview',
temperature: 0.7,
stream: true,
max_tokens: 4096,
} as OpenAiChatConfig;
this._openaiChatService.createChat(aiChatId, contextPrompt, chatConfig);
const aiChatDocument = await this._aiChatsService.createAiChat({
Expand Down

0 comments on commit c548955

Please sign in to comment.