summaries chat client
This commit is contained in:
@@ -12,6 +12,7 @@ export default function ChatWindow({
|
||||
onBack,
|
||||
canGoBack,
|
||||
loadedModel,
|
||||
summarising,
|
||||
}) {
|
||||
const bottomRef = useRef(null);
|
||||
const inputRef = useRef(null);
|
||||
@@ -86,6 +87,20 @@ export default function ChatWindow({
|
||||
No model loaded
|
||||
</span>
|
||||
)}
|
||||
{summarising && (
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: '6px' }}>
|
||||
<div style={{
|
||||
width: '10px', height: '10px', borderRadius: '50%',
|
||||
border: '2px solid var(--accent)',
|
||||
borderTopColor: 'transparent',
|
||||
animation: 'spin 0.7s linear infinite',
|
||||
flexShrink: 0,
|
||||
}} />
|
||||
<span style={{ fontSize: '11px', color: 'var(--text-muted)', whiteSpace: 'nowrap' }}>
|
||||
Summarising…
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
<button className="btn-icon" onClick={onTogglePanel} title="Session info">⊹</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user