From a94399191eb5f5f17f35c1a454c02c70b1ff776b Mon Sep 17 00:00:00 2001 From: Aaron Detre Date: Wed, 22 Jul 2026 12:34:28 -0700 Subject: [PATCH 1/2] Move AI Chat model selection to basic authoring --- .../ai-chat-authoring.component.html | 9 +++++++ .../ai-chat-authoring.component.ts | 24 +++++++++++-------- .../edit-ai-chat-advanced.component.html | 9 ------- .../edit-ai-chat-advanced.component.ts | 1 - 4 files changed, 23 insertions(+), 20 deletions(-) diff --git a/src/assets/wise5/components/aiChat/ai-chat-authoring/ai-chat-authoring.component.html b/src/assets/wise5/components/aiChat/ai-chat-authoring/ai-chat-authoring.component.html index 3b47d158d05..1b1a5ca7d43 100644 --- a/src/assets/wise5/components/aiChat/ai-chat-authoring/ai-chat-authoring.component.html +++ b/src/assets/wise5/components/aiChat/ai-chat-authoring/ai-chat-authoring.component.html @@ -48,6 +48,15 @@ [componentContent]="componentContent" (promptChangedEvent)="promptChanged($event)" /> + + Model + + @for (model of models; track model) { + {{ model }} + } + + +
settings General - - Model - - @for (model of models; track model) { - {{ model }} - } - - -
diff --git a/src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.ts b/src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.ts index edde60a0e2f..094a814de96 100644 --- a/src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.ts +++ b/src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.ts @@ -12,5 +12,4 @@ import { EditComponentAdvancedSharedModule } from '../../../../../app/authoring- export class EditAiChatAdvancedComponent extends EditAdvancedComponentComponent { protected allowedConnectedComponentTypes = ['OpenResponse']; componentContent: AiChatContent; - protected models: string[] = ['gpt-4o', 'gpt-4o-mini', 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5.4-nano']; } From 538871a59d49235edaddfe1ff6463502b493b9e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 Jul 2026 19:44:44 +0000 Subject: [PATCH 2/2] Updated messages --- src/messages.xlf | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/messages.xlf b/src/messages.xlf index 84a11c314db..c55672fbc8c 100644 --- a/src/messages.xlf +++ b/src/messages.xlf @@ -962,7 +962,7 @@ src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 46,47 + 37,38 src/assets/wise5/components/animation/edit-animation-advanced/edit-animation-advanced.component.html @@ -10684,7 +10684,7 @@ src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 38,41 + 29,32 src/assets/wise5/components/animation/edit-animation-advanced/edit-animation-advanced.component.html @@ -10798,7 +10798,7 @@ src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 50,52 + 41,43 src/assets/wise5/components/animation/edit-animation-advanced/edit-animation-advanced.component.html @@ -13754,7 +13754,7 @@ The branches will be removed but the steps will remain in the unit. src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 4,7 + 4,6 src/assets/wise5/components/animation/edit-animation-advanced/edit-animation-advanced.component.html @@ -16690,11 +16690,18 @@ Are you sure you want to proceed? 46,49 + + Model + + src/assets/wise5/components/aiChat/ai-chat-authoring/ai-chat-authoring.component.html + 52,53 + + Enable Computer Avatar src/assets/wise5/components/aiChat/ai-chat-authoring/ai-chat-authoring.component.html - 57,60 + 66,69 src/assets/wise5/components/dialogGuidance/dialog-guidance-authoring/dialog-guidance-authoring.component.html @@ -16734,18 +16741,11 @@ Are you sure you want to proceed? 114 - - Model - - src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 7,8 - - Visibility src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 19,21 + 10,12 src/assets/wise5/components/animation/edit-animation-advanced/edit-animation-advanced.component.html @@ -16828,7 +16828,7 @@ Are you sure you want to proceed? Connections src/assets/wise5/components/aiChat/edit-ai-chat-advanced/edit-ai-chat-advanced.component.html - 25,28 + 16,19 src/assets/wise5/components/animation/edit-animation-advanced/edit-animation-advanced.component.html