mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-09 07:29:51 +00:00
fix(web): enable auto-scroll and add key prop to HappyThread component
This commit is contained in:
@@ -193,6 +193,7 @@ export function SessionChat(props: {
|
||||
<AssistantRuntimeProvider runtime={runtime}>
|
||||
<div className="relative flex min-h-0 flex-1 flex-col">
|
||||
<HappyThread
|
||||
key={props.session.id}
|
||||
api={props.api}
|
||||
sessionId={props.session.id}
|
||||
metadata={props.session.metadata}
|
||||
|
||||
Reference in New Issue
Block a user