fix(web): Resume continues on the model picked in the composer (#17867)
This commit is contained in:
1 parent
43888b5ff1
commit
a70ee2a7a0
1 file changed
+2
@@ -8735,11 +8735,13 @@ export default function ChatView(props: ChatViewProps) {
|
||||
interactionMode,
|
||||
});
|
||||
if (settingsResult._tag === "Failure") return settingsResult;
|
||||
const modelSelection = composerRef.current?.getSendContext().selectedModelSelection;
|
||||
const turnResult = await startThreadTurn({
|
||||
environmentId,
|
||||
input: {
|
||||
threadId,
|
||||
manualContinuationOfRunId: resumableRunId,
|
||||
...(modelSelection ? { modelSelection } : {}),
|
||||
message: {
|
||||
messageId: newMessageId(),
|
||||
role: "user",
|
||||
|
||||
Reference in new issue
Block a user