Commit Graph

404 Commits

Author SHA1 Message Date
f0cc8d6270 add .prettierrc 2024-12-27 14:24:38 +08:00
b021f65a59 Merge remote-tracking branch 'github/dev' into dev 2024-12-25 18:04:28 +08:00
6a7f273682 fix: chatStore.cost is null 2024-12-25 18:04:13 +08:00
ecwu
834e27810c Replace VoicemailIcon with CircleStopIcon in WhisperButton during recording state 2024-12-25 16:30:35 +08:00
ecwu
192bae7339 allow to add image when API key is not set 2024-12-25 16:28:10 +08:00
ecwu
dcf8008c4d Refactor WhisperButton to enhance icon representation and prevent default click behavior 2024-12-25 16:19:49 +08:00
ecwu
08504930d4 Refactor Chatbox to improve AddImage component handling and button functionality 2024-12-25 16:13:32 +08:00
60b1481dab search screen 80% width max 2024-12-25 16:07:06 +08:00
32935d9742 sorry my fault 2024-12-25 15:32:02 +08:00
ecwu
ffd54fa70f Refactor TTSButton to use custom Button component and update icons for better UI consistency 2024-12-25 15:24:04 +08:00
ecwu
737c4727b0 Enhance Menubar with additional items and improved layout for better user experience 2024-12-25 15:12:26 +08:00
ecwu
126fa4f9db Refactor ThemeProvider to use React instead of Preact for improved compatibility 2024-12-25 14:43:28 +08:00
ecwu
756bf6cddd Update package.json to add @types/react and upgrade lucide-react and react dependencies 2024-12-25 14:40:53 +08:00
6acfc0d31d move chat actions to the buttom of bubble 2024-12-23 15:19:57 +08:00
7428018173 remove max-w-[60%] 2024-12-23 15:00:32 +08:00
926f3bea5c Fix types, replace preact with react 2024-12-22 23:04:36 +08:00
ecwu
c6fbe5c031 Refactor Search component to use Dialog for improved user experience; integrate Pagination component for better navigation of search results 2024-12-21 22:27:07 +08:00
ecwu
de4aca9498 Enhance MessageHide component to display more message text; increase visible text length and adjust layout for better presentation 2024-12-21 21:50:50 +08:00
ecwu
a80aacce5a Refactor MessageHide component layout to improve badge visibility; separate message text and badge into distinct sections for better user experience 2024-12-21 21:44:16 +08:00
ecwu
001bc479c2 Enhance ChatBubble and ChatBOX components to display loading messages; improve structure and formatting for better readability 2024-12-21 21:40:06 +08:00
ecwu
1c1c46b67d Enhance Message component with improved clipboard functionality; add fallback for clipboard copy and update icon based on chat visibility state 2024-12-21 20:27:06 +08:00
ecwu
bb2b6164d6 Refactor EditMessage component to use Dialog for improved user experience; replace textarea with custom Textarea component for better styling and functionality 2024-12-21 18:06:03 +08:00
ecwu
05d9132c22 Enhance ChatBOX component with improved alert messages and layout; replace plain text with structured ChatBubble components for better user experience 2024-12-21 17:51:21 +08:00
ecwu
dccddd6c4f Refactor Settings and ChatBOX components for improved layout; add Search button and integrate ScrollArea for better content management 2024-12-21 14:23:36 +08:00
ecwu
5535706a26 Refactor Settings component to replace native select elements with custom Select components for improved UI consistency and usability 2024-12-21 14:10:12 +08:00
ecwu
685ef3c9d6 Remove commented-out code in ListAPIs component to clean up the codebase 2024-12-21 13:30:39 +08:00
ecwu
f2feedd3a2 Enhance ListAPIs component to display template name conditionally; update ChatBOX layout for improved spacing 2024-12-21 13:13:36 +08:00
ecwu
e8f0c0ffa5 Refactor ListToolsTemplates component to use NavigationMenu for improved navigation; enhance template management with Edit and Delete buttons 2024-12-21 12:51:07 +08:00
ecwu
1656e16c7c Replace ChatBubbleAvatar with improved layout in Message component; update MessageHide component to use Badge for context indication 2024-12-21 12:10:49 +08:00
ecwu
346634c0d0 Refactor ListAPIs and ListToolsTemplates components to use Card and Carousel for improved UI; enhance template management with Edit and Delete buttons 2024-12-20 20:44:50 +08:00
ecwu
de231e215e Refactor WhisperButton and ChatBOX components to use Button component for consistency; improve layout and structure 2024-12-20 19:52:55 +08:00
ecwu
145b333ce4 Remove CopiedHint component and update button styles in Message component; add response model name display 2024-12-20 18:49:10 +08:00
ecwu
3ad8243531 Update message icons and enhance MessageHide component for better context display 2024-12-20 18:42:36 +08:00
ecwu
5f6d83000d Refactor ChatBOX component to enhance input handling and UI elements 2024-12-20 18:37:09 +08:00
ecwu
5ecfe13234 Add theme toggle functionality with ThemeProvider and ModeToggle component 2024-12-20 18:28:33 +08:00
ecwu
368d9810c2 refactor message layout for improved UI consistency 2024-12-20 18:21:28 +08:00
ecwu
17a4bf6d6b remove StatusBar in ChatBOX with a new design 2024-12-20 17:31:01 +08:00
ecwu
ac307f5551 Refactor import path for Settings component to improve code organization 2024-12-20 16:10:07 +08:00
ecwu
5ad8737370 Add ExpandableChat component with toggle functionality and customizable dimensions 2024-12-20 16:07:49 +08:00
ecwu
b513e21489 Add chat components: ChatBubble, ChatInput, ChatMessageList, and loading indicator 2024-12-20 16:07:44 +08:00
ecwu
bac65994b0 Refactor Settings component and integrate shadcn UI elements for improved user experience 2024-12-20 16:06:01 +08:00
ecwu
7ecdae8f1d Add UI components (shadcn) and utility functions for improved styling and layout 2024-12-20 13:17:34 +08:00
9c2c314ce9 fix search 2024-12-19 09:43:19 +08:00
3cd6bc5bc2 Handle NaN values in total cost calculations 2024-12-15 22:16:49 +08:00
f257d9e5b3 calculate streaming response cost 2024-12-08 17:18:07 +08:00
626f406711 Revert "Deprecated max_token to max-completion_tokens"
All checks were successful
Build static content / build (push) Successful in 7m54s
This reverts commit 9dd4d99e54.
2024-12-08 17:04:28 +08:00
9dd4d99e54 Deprecated max_token to max-completion_tokens 2024-12-08 16:46:09 +08:00
5039bdfca8 temperature default to 1 2024-12-08 16:41:42 +08:00
64f1e3d70e update models 2024-12-08 16:41:02 +08:00
b98900873c more options on new chat store 2024-12-08 16:25:55 +08:00