integrate ai gateway and improve ui components (#1145)

This commit is contained in:
josh 2025-09-01 11:07:07 +01:00 committed by GitHub
parent 7315ced92f
commit dff2191611
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 235 additions and 217 deletions

View file

@ -42,7 +42,7 @@ function PureArtifactMessages({
return (
<div
ref={messagesContainerRef}
className="flex flex-col gap-4 h-full items-center overflow-y-scroll px-4 pt-20"
className="flex overflow-y-scroll flex-col gap-4 items-center px-4 pt-20 h-full"
>
{messages.map((message, index) => (
<PreviewMessage
@ -61,6 +61,7 @@ function PureArtifactMessages({
requiresScrollPadding={
hasSentMessage && index === messages.length - 1
}
isArtifactVisible={true}
/>
))}