Commit Graph

67 Commits

Author SHA1 Message Date
ba64aec5b0 scroll to bottom at message sent 2025-01-08 22:49:52 +08:00
99e557c1a8 fix type: setChatSthore is async 2025-01-08 01:25:11 +08:00
b68224b13b refactor: seperate AppContext and AppChatStoreContext 2025-01-08 01:24:16 +08:00
20a152b899 ignore ctx is null early return 2025-01-08 00:17:01 +08:00
ecwu
04cd1a36e1 refactor: prevent API overflow in Settings component for better display 2025-01-06 17:18:11 +08:00
c43c24d3d5 fix: import typo 2025-01-06 14:13:21 +08:00
ecwu
5effd0a3f4 refactor: remove unused buttons and enhance API and Tools display in Settings component 2025-01-06 12:37:29 +08:00
ecwu
0e1529a4d2 refactor: add missing keys to list items and improve structure in APIListMenu and MessageBubble components 2025-01-05 20:42:36 +08:00
ecwu
709cad3138 refactor: simplify ImageUploadDrawer usage and integrate it into Chatbox for improved image handling 2025-01-05 20:32:19 +08:00
ecwu
c4dc89784d refactor: replace AddImage component with ImageUploadDrawer and add ImageGenDrawer for enhanced image handling 2025-01-05 20:00:17 +08:00
ecwu
40f61dd6f9 refactor: update button labels and improve dialog for saving tools templates 2025-01-05 19:43:57 +08:00
ecwu
c92b8f04cc refactor: rename ListAPI component to APIListMenu and update related references for improved clarity 2025-01-05 18:29:28 +08:00
ecwu
9383cf045a refactor: replace ListAPIs component with ListAPI for improved structure and organization 2025-01-05 00:00:11 +08:00
ecwu
47f63364b1 refactor: rename message.tsx to MessageBubble.tsx and consolidate message-related components for better organization 2025-01-04 23:53:45 +08:00
ecwu
503bf6a9bb feat: replace DropdownMenu with Select component in ModeToggle for improved theme selection 2025-01-04 23:29:20 +08:00
ecwu
236d48e72d feat: enhance ListAPIs component with shortLabel prop for improved display and update translations for new chat session prompts 2025-01-04 23:13:58 +08:00
ecwu
1f9c75b91e refactor: rename tmps to temps in Settings and setAPIsTemplate components for consistency 2025-01-04 22:49:45 +08:00
ecwu
34360e5370 refactor: clean up imports and move logprobToColor function to utils 2025-01-03 11:34:46 +08:00
ecwu
3728766d7f refactor: rename components and update import paths for consistency 2025-01-03 11:30:12 +08:00
ecwu
3060543ee7 refactor: rename and reorganize Search component imports for better structure 2025-01-03 01:43:40 +08:00
ecwu
c421792b9f feat: add alert icon in Settings button for missing API key or endpoint 2025-01-03 01:35:45 +08:00
ecwu
45d405adf3 refactor: remove settings visibility logic and add TODO for future implementation 2025-01-03 01:19:50 +08:00
ecwu
30583a421d refactor: update Settings and Navbar components for improved state management and UI integration 2025-01-03 01:17:54 +08:00
ecwu
6fe1012270 add Navbar component and integrate into App layout 2025-01-03 00:33:02 +08:00
8b95106cf8 move follow button into input sticky 2024-12-31 14:17:36 +08:00
7a5bd999a8 Revert "setting overflow scroll to outer element"
This reverts commit b157614329.
2024-12-30 14:59:34 +08:00
b157614329 setting overflow scroll to outer element 2024-12-30 10:48:03 +08:00
115343cc27 sticky input component 2024-12-30 10:11:57 +08:00
b52af0ca1e fix typo and cached_input token 2024-12-30 01:08:52 +08:00
0e5d29b5ed update models 2024-12-30 00:47:32 +08:00
7413bf10ff refac: cost estimate and user msg tokens estimate 2024-12-30 00:27:16 +08:00
66a6f263a5 clean up chatStore 2024-12-27 18:02:14 +08:00
092ac46c15 move status to AppContext 2024-12-27 17:39:03 +08:00
48ead03629 upgrade react 19, remove preact usage 2024-12-27 15:43:48 +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
192bae7339 allow to add image when API key is not set 2024-12-25 16:28:10 +08:00
ecwu
08504930d4 Refactor Chatbox to improve AddImage component handling and button functionality 2024-12-25 16:13:32 +08:00
ecwu
737c4727b0 Enhance Menubar with additional items and improved layout for better user experience 2024-12-25 15:12:26 +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
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
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
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
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
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