Commit Graph

47 Commits

Author SHA1 Message Date
20a152b899 ignore ctx is null early return 2025-01-08 00:17:01 +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
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
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
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
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
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
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
bac65994b0 Refactor Settings component and integrate shadcn UI elements for improved user experience 2024-12-20 16:06:01 +08:00
f257d9e5b3 calculate streaming response cost 2024-12-08 17:18:07 +08:00
400ebafc37 format code 2024-12-08 16:19:20 +08:00
e7c26560bb store response_model_name by message 2024-12-08 16:19:04 +08:00
6aca74a7b4 remove: update_total_token()
All checks were successful
Build static content / build (push) Successful in 8m10s
2024-10-15 18:20:21 +08:00
a763355420 rename: tsx 2024-10-15 18:01:13 +08:00