diff --git a/README.md b/README.md index df7578b25d..38ce91574f 100644 --- a/README.md +++ b/README.md @@ -395,6 +395,8 @@ If you want to deploy this service yourself on Zeabur, you can follow these step +
+ ### Environment Variable This project provides some additional configuration items set with environment variables: @@ -485,7 +487,37 @@ Contributions of all types are more than welcome; if you are interested in contr [![][submit-agents-shield]][submit-agents-link] [![][submit-plugin-shield]][submit-plugin-link] -[![][contributors-contrib]][contributors-link] + + + + + + + + + + + + +
+


+
+ + + + + + + + + +
+ + + + +
+
@@ -530,8 +562,6 @@ This project is [MIT](./LICENSE) licensed. [chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway [codespaces-link]: https://codespaces.new/lobehub/lobe-chat [codespaces-shield]: https://github.com/codespaces/badge.svg -[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/lobe-chat -[contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors [deploy-button-image]: https://vercel.com/button [deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg diff --git a/README.zh-CN.md b/README.zh-CN.md index 429a56a690..c262d98f45 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -369,6 +369,8 @@ $ docker run -d -p 3210:3210 \
+
+ ### 环境变量 本项目提供了一些额外的配置项,使用环境变量进行设置: @@ -459,7 +461,37 @@ $ bun run dev [![][submit-agents-shield]][submit-agents-link] [![][submit-plugin-shield]][submit-plugin-link] -[![][contributors-contrib]][contributors-link] + + + + + + + + + + + + +
+


+
+ + + + + + + + + +
+ + + + +
+
@@ -504,8 +536,6 @@ This project is [MIT](./LICENSE) licensed. [chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway [codespaces-link]: https://codespaces.new/lobehub/lobe-chat [codespaces-shield]: https://github.com/codespaces/badge.svg -[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/lobe-chat -[contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors [deploy-button-image]: https://vercel.com/button [deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg diff --git a/src/app/chat/(mobile)/features/ChatInput/Files.tsx b/src/app/chat/(mobile)/features/ChatInput/Files.tsx index 49ad5bf7fd..1568101e13 100644 --- a/src/app/chat/(mobile)/features/ChatInput/Files.tsx +++ b/src/app/chat/(mobile)/features/ChatInput/Files.tsx @@ -10,7 +10,7 @@ const Files = memo(() => { return (
- +
); }); diff --git a/src/app/chat/(mobile)/features/ChatInput/Mobile.tsx b/src/app/chat/(mobile)/features/ChatInput/Mobile.tsx index 69a9628694..e164c8463d 100644 --- a/src/app/chat/(mobile)/features/ChatInput/Mobile.tsx +++ b/src/app/chat/(mobile)/features/ChatInput/Mobile.tsx @@ -3,6 +3,7 @@ import { rgba } from 'polished'; import { memo } from 'react'; import { Flexbox } from 'react-layout-kit'; +import Files from '@/app/chat/(mobile)/features/ChatInput/Files'; import ActionBar from '@/app/chat/features/ChatInput/ActionBar'; import InputAreaInner from '@/app/chat/features/ChatInput/InputAreaInner'; import STT from '@/app/chat/features/ChatInput/STT'; @@ -28,6 +29,7 @@ const ChatInputArea = memo(() => { return ( + } /> diff --git a/src/app/chat/(mobile)/features/ChatInput/index.tsx b/src/app/chat/(mobile)/features/ChatInput/index.tsx index 59cafa6dc0..f1366a9865 100644 --- a/src/app/chat/(mobile)/features/ChatInput/index.tsx +++ b/src/app/chat/(mobile)/features/ChatInput/index.tsx @@ -4,7 +4,6 @@ import { memo } from 'react'; import SafeSpacing from '@/components/SafeSpacing'; import { CHAT_TEXTAREA_HEIGHT_MOBILE } from '@/const/layoutTokens'; -import Files from './Files'; import ChatInputArea from './Mobile'; const useStyles = createStyles( @@ -25,7 +24,6 @@ const ChatInputMobileLayout = memo(() => { return ( <> -
diff --git a/src/components/FileList/EditableFileList.tsx b/src/components/FileList/EditableFileList.tsx index 465a5b8b67..35cd82c78a 100644 --- a/src/components/FileList/EditableFileList.tsx +++ b/src/components/FileList/EditableFileList.tsx @@ -9,7 +9,7 @@ interface EditableFileListProps { alwaysShowClose?: boolean; editable?: boolean; items: string[]; - padding?: number; + padding?: number | string; } const EditableFileList = memo(