Skip to content

Commit a70ee2a

Browse files
authored
fix(web): Resume continues on the model picked in the composer (pingdotgg#17867)
1 parent 43888b5 commit a70ee2a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8735,11 +8735,13 @@ export default function ChatView(props: ChatViewProps) {
87358735
interactionMode,
87368736
});
87378737
if (settingsResult._tag === "Failure") return settingsResult;
8738+
const modelSelection = composerRef.current?.getSendContext().selectedModelSelection;
87388739
const turnResult = await startThreadTurn({
87398740
environmentId,
87408741
input: {
87418742
threadId,
87428743
manualContinuationOfRunId: resumableRunId,
8744+
...(modelSelection ? { modelSelection } : {}),
87438745
message: {
87448746
messageId: newMessageId(),
87458747
role: "user",

0 commit comments

Comments
 (0)