Skip to content

Commit 76889fc

Browse files
chore(AI Chat): Update model options
1 parent 382d29d commit 76889fc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/assets/wise5/components/aiChat/aiChatService.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ export class AiChatService extends ComponentService {
1717
createComponent(): any {
1818
const component: any = super.createComponent();
1919
component.type = 'AiChat';
20-
component.computerAvatarSettings = this.computerAvatarService.getDefaultComputerAvatarSettings();
20+
component.computerAvatarSettings =
21+
this.computerAvatarService.getDefaultComputerAvatarSettings();
2122
component.isComputerAvatarEnabled = false;
22-
component.model = 'gpt-4';
23+
component.model = 'gpt-5.4-mini';
2324
component.systemPrompt = '';
2425
return component;
2526
}

src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ import { EditComponentWidthComponent } from '../../../../../app/authoring-tool/e
2222
export class EditAiChatAdvancedComponent extends EditAdvancedComponentComponent {
2323
protected allowedConnectedComponentTypes = ['OpenResponse'];
2424
componentContent: AiChatContent;
25-
protected models: string[] = ['gpt-3.5-turbo', 'gpt-4'];
25+
protected models: string[] = ['gpt-4o', 'gpt-4o-mini', 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5.4-nano'];
2626
}

0 commit comments

Comments
 (0)