Merge pull request #7407 from uinstinct/context-items-compaction
fix: context items dialog not visible on conversation compaction
This commit is contained in:
commit
e226b863c7
1 changed files with 11 additions and 13 deletions
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue