Fix scrolling buttopn and autoscrolling

This commit is contained in:
Shantur Rathore
2025-11-14 13:10:47 +00:00
parent 5215ec94a1
commit 5faa06601a
2 changed files with 3 additions and 1 deletions

View File

@@ -380,7 +380,9 @@ export default function MessageStream(props: MessageStreamProps) {
const toolSignature = createToolSignature(message, toolPart, originalIndex, messageInfo)
const contentKey = createToolContentKey(toolPart, messageInfo)
tokenSegments.push(`tool:${toolKey}:${partVersion}`)
const toolEntry = toolItemCache.get(toolKey)
if (toolEntry && toolEntry.signature === toolSignature) {
if (toolEntry.contentKey !== contentKey) {
const updatedItem: ToolDisplayItem = {

View File

@@ -696,7 +696,7 @@ button.button-primary:disabled {
height: 2.75rem;
border-radius: 9999px;
border: 1px solid var(--border-base);
background-color: var(--surface-secondary);
background-color: transparent;
color: var(--text-primary);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;