{/* Full-width scroll container: scrolling works even over side whitespace */}
applyEdit(newContent, false)}
onSaveEditAndSubmit={(newContent) => applyEdit(newContent, true)}
/>
{/* Input area: center content and constrain to the same container width */}
updateConfig('group', value)}
onModelChange={(value) => updateConfig('model', value)}
onStop={stopGeneration}
onSubmit={handleSendMessage}
/>
)
}