Skip to content

Commit

Permalink
feat(multimodal): multiple images upload
Browse files Browse the repository at this point in the history
  • Loading branch information
massi-ang authored and bigadsoleiman committed Mar 7, 2024
1 parent 1ece675 commit 0be52ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
Container,
ExpandableSection,
Popover,
SpaceBetween,
Spinner,
StatusIndicator,
Tabs,
Expand Down Expand Up @@ -317,6 +318,7 @@ export default function ChatMessage(props: ChatMessageProps) {
href={file.url as string}
target="_blank"
rel="noreferrer"
style={{ marginLeft: "5px", marginRight: "5px" }}
>
<img
src={file.url as string}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default function ImageDialog(props: ImageDialogProps) {
limitShowMore: "Show more files",
errorIconAriaLabel: "Error",
}}
multiple={false}
multiple={true}
errorText={error}
showFileThumbnail
tokenLimit={3}
Expand Down

0 comments on commit 0be52ea

Please sign in to comment.