mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-22 03:45:20 -04:00
[PR #6] [MERGED] feat: support file uploading #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/chat-ui/pull/6
Author: @thucpn
Created: 10/28/2024
Status: ✅ Merged
Merged: 10/28/2024
Merged by: @marcusschiesser
Base:
main← Head:feat/support-file-uploading📝 Commits (10+)
297b8e8refactor: require id in messagea75c320refactor: use append function to submit messagef9a0124feat: add file preview components to widget82409c0feat: move useFile to chat-uica7f2d6refactor: keep chat input simple094c37bfix: formatbc85c4afix: lint1b2eca5add upload file example1c851f9fix: reset808c9f8put chat message in memo📊 Changes
9 files changed (+224 additions, -71 deletions)
View changed files
📝
apps/web/app/custom-demo.tsx(+38 -2)📝
packages/chat-ui/src/chat/chat-input.tsx(+20 -24)📝
packages/chat-ui/src/chat/chat-message.tsx(+24 -6)📝
packages/chat-ui/src/chat/chat-messages.tsx(+7 -1)📝
packages/chat-ui/src/chat/chat-section.tsx(+1 -15)📝
packages/chat-ui/src/chat/chat.interface.ts(+8 -23)➕
packages/chat-ui/src/hook/use-file.tsx(+122 -0)📝
packages/chat-ui/src/index.tsx(+3 -0)📝
packages/config-eslint/react.js(+1 -0)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.