Merge pull request #7407 from uinstinct/context-items-compaction

fix: context items dialog not visible on conversation compaction
This commit is contained in:
Dallin Romney 2025-09-08 16:28:15 -07:00 • committed by GitHub
commit e226b863c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -288,19 +288,17 @@ export function Chat() {
if (message.role === "user") {
return (
<div className={isBeforeLatestSummary ? "opacity-50" : ""}>
<ContinueInputBox
onEnter={(editorState, modifiers) =>
sendInput(editorState, modifiers, index)
}
isLastUserInput={isLastUserInput(index)}
isMainInput={false}
editorState={editorState}
contextItems={contextItems}
appliedRules={appliedRules}
inputId={message.id}
/>
</div>
<ContinueInputBox
onEnter={(editorState, modifiers) =>
sendInput(editorState, modifiers, index)
}
isLastUserInput={isLastUserInput(index)}
isMainInput={false}
editorState={editorState}
contextItems={contextItems}
appliedRules={appliedRules}
inputId={message.id}
/>
);
}