Commit Graph

374 Commits

Author SHA1 Message Date
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
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
8122f6d8bf refac: pages/addToolMsg.tx 2024-10-15 18:00:25 +08:00
31c49ff888 refac: components/WhisperButton.tsx 2024-10-15 17:52:32 +08:00
fd5f87f845 refac: components/StatusBar.tsx 2024-10-15 17:40:52 +08:00
587d0ba57d rename components 2024-10-15 17:34:01 +08:00
795cb16ed4 refac: componets/versionHint.tsx 2024-10-15 17:32:33 +08:00
47d96198e8 refac: components/templates.tsx 2024-10-15 17:27:56 +08:00
eb8a6dc8ed move chatbox.tsx to pages/ 2024-10-15 17:20:28 +08:00
32866d9a7f move: app.tsx to pages/ 2024-10-15 17:14:44 +08:00
9cfb09a5ac refac: app.tsx 2024-10-15 17:13:21 +08:00
7196799625 remove; buildFieldForSearch 2024-10-15 16:48:18 +08:00
915987cbfe refac: @/indexed/upgrade 2024-10-15 16:47:03 +08:00
9855027876 refac: @/utils/buildForSearch.ts 2024-10-15 15:11:21 +08:00
2670183343 refact: @/utils/totalCost.tx 2024-10-15 15:07:05 +08:00
ad291bd72e refac: move const STORAGE_NAME 2024-10-15 15:04:27 +08:00
1fbd4ee87b refac: export getDefaultParam 2024-10-15 15:01:51 +08:00
af2ae82e74 refac: newChatStore to use options 2024-10-15 14:59:20 +08:00
9e74e419c9 bump gitlab ci node to version 20.x 2024-10-15 14:57:57 +08:00
ee9da49f70 refac: models newChatStore 2024-10-15 10:34:35 +08:00
dccf4827c9 refac: @/types/chatstore.ts 2024-10-15 10:18:20 +08:00
04bac03fd7 move chatstore to @types/chatsotre.ts 2024-10-15 09:44:40 +08:00
f0f040c42c use @ import alias
All checks were successful
Build static content / build (push) Successful in 10m51s
2024-10-14 18:09:07 +08:00
1c3c94bae4 rename class to className 2024-10-14 17:50:55 +08:00
f5d43ec4b9 fix: type hiint dispatch stateupdater 2024-10-14 17:50:37 +08:00
6df6ad031a update dependency 2024-10-14 17:19:13 +08:00
3cc80fd8fe refactor: disable maxGenTokens feature in newChatStore 2024-09-19 09:40:00 +08:00
e09036860f add model gpt-4o-2024-08-06 2024-08-09 09:30:26 +08:00