| ... | ... | @@ -8735,11 +8735,13 @@ export default function ChatView(props: ChatViewProps) { |
| 8735 | 8735 | interactionMode, |
| 8736 | 8736 | }); |
| 8737 | 8737 | if (settingsResult._tag === "Failure") return settingsResult; |
| 8738 | const modelSelection = composerRef.current?.getSendContext().selectedModelSelection; |
| 8738 | 8739 | const turnResult = await startThreadTurn({ |
| 8739 | 8740 | environmentId, |
| 8740 | 8741 | input: { |
| 8741 | 8742 | threadId, |
| 8742 | 8743 | manualContinuationOfRunId: resumableRunId, |
| 8744 | ...(modelSelection ? { modelSelection } : {}), |
| 8743 | 8745 | message: { |
| 8744 | 8746 | messageId: newMessageId(), |
| 8745 | 8747 | role: "user", |