diff --git a/.changeset/silly-knives-wash.md b/.changeset/silly-knives-wash.md new file mode 100644 index 00000000000..d424e51e2cc --- /dev/null +++ b/.changeset/silly-knives-wash.md @@ -0,0 +1,5 @@ +--- +"@aws-amplify/ui-react-ai": patch +--- + +fix(ai-conversation): allow attachments to actually work on amplify component diff --git a/packages/react-ai/src/components/AIConversation/AIConversation.tsx b/packages/react-ai/src/components/AIConversation/AIConversation.tsx index a5d74c0944a..200dd604c62 100644 --- a/packages/react-ai/src/components/AIConversation/AIConversation.tsx +++ b/packages/react-ai/src/components/AIConversation/AIConversation.tsx @@ -63,6 +63,7 @@ function AIConversationBase({ ...controls, }, displayText, + allowAttachments, }); const providerProps = { @@ -73,7 +74,6 @@ function AIConversationBase({ ...avatars, }, isLoading, - allowAttachments, }; return (