improv: ui
This commit is contained in:
parent
8b44a468a6
commit
7a43ce58ed
1 changed files with 3 additions and 3 deletions
|
|
@ -41,21 +41,21 @@ const ContextStatus = () => {
|
|||
</span>
|
||||
{isPruned && (
|
||||
<span className="inline-block">
|
||||
{`Oldest messages are being removed`}
|
||||
{`Oldest messages are being removed.`}
|
||||
</span>
|
||||
)}
|
||||
{history.length > 0 && (
|
||||
<div className="flex flex-col gap-1 whitespace-pre">
|
||||
<div>
|
||||
<span
|
||||
className="inline-block cursor-pointer underline hover:text-link"
|
||||
className="hover:text-link inline-block cursor-pointer underline"
|
||||
onClick={() => compactConversation(history.length - 1)}
|
||||
>
|
||||
Compact conversation
|
||||
</span>
|
||||
{"\n"}
|
||||
<span
|
||||
className="inline-block cursor-pointer underline hover:text-link"
|
||||
className="hover:text-link inline-block cursor-pointer underline"
|
||||
onClick={() => {
|
||||
dispatch(
|
||||
saveCurrentSession({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue