Commit Graph
100 Commits
Author SHA1 Message Date
heimoshuiyu 812ce3cc1f fix: conversation list show in startup 2025-04-23 10:21:51 +08:00
heimoshuiyu 667b334dfc feat: add URL parameter configuration import dialog and related functionality 2025-03-25 10:49:10 +08:00
heimoshuiyu 9b32948cfa remove lg:w-[65%] 2025-03-24 16:09:39 +08:00
heimoshuiyu 9fbd9b98c2 Merge branch 'dev' 2025-03-24 15:50:29 +08:00
heimoshuiyu 14df7bebac Revert "fix overflow"
This reverts commit 2a39ff885a.
2025-03-24 15:49:29 +08:00
heimoshuiyu e4919bb91f fix: panic if usage is null in stream mode 2025-02-20 16:42:52 +08:00
heimoshuiyu 2a39ff885a fix overflow 2025-02-20 11:59:36 +08:00
heimoshuiyu c03dbef798 add response count to ChatStoreMessage and update message creation 2025-02-08 14:25:12 +08:00
heimoshuiyu 8cd43bec72 add Chinese translations for "follow" and "stop generating"; log translation misses only for non-English 2025-02-08 11:03:20 +08:00
heimoshuiyu ed5f561148 refactor Chatbox component layout and restore stop generating button 2025-02-08 11:03:00 +08:00
heimoshuiyu c37a99f06d fix haha 2025-02-08 00:54:32 +08:00
heimoshuiyu 5b4a0507ae stop generating store message 2025-02-08 00:09:49 +08:00
heimoshuiyu 75bf4a419d 访问冲突警告 2025-02-07 23:14:12 +08:00
heimoshuiyu 7dea556a56 fix history 2025-02-07 21:40:48 +08:00
heimoshuiyu 79d5ded088 Update pages.yml
Build static content / build (push) Successful in 8m5s
Update pages.yml

Update pages.yml

Update pages.yml

Update pages.yml

Update pages.yml

fix message bubble overflow on small screen

refactor ListAPI component to simplify click handler for template selection

chat store title

fix: adjust MessageBubble component to allow full-width rendering on medium screens

feat: enhance ConversationTitle component with full-width styling and click handler for title retrieval

feat: add abort signal support for fetch and stream response handling in Chat component

feat: add usage tracking and timestamps to ChatStoreMessage structure

pwa

feat: update theme colors to black in manifest and Vite config

display standlone

feat: add smooth scrolling to messages in Chatbox component

feat: add handleNewChatStore function to App context and integrate in Chatbox for new chat functionality

feat: refactor MessageBubble component to use ChatBubble and improve structure

refactor(MessageBubble): move TTSPlay component into message area and reorganize action buttons

ui(navbar): improve cost breakdown clarity and add accumulated cost tracking

Revert "feat: refactor MessageBubble component to use ChatBubble and improve structure"

This reverts commit d16984c7da896ee0d047dca0be3f4ad1703a5d2c.

display string mesasge trimed

fix typo

fix scroll after send

fix(MessageBubble): trim whitespace from reasoning content display

feat(sidebar): optimize mobile performance with CSS transitions

- Refactored mobile sidebar implementation to use direct CSS transforms instead of Sheet component
- Added static overlay mask with opacity transition for mobile experience
- Implemented custom close button with X icon to replace Sheet's default
- Improved z-index handling for sidebar elements (chat-bubble z-index reduced to 30)
- Preserved DOM structure during sidebar toggle to prevent unnecessary remounting
- Unified PC/mobile behavior using CSS animation rather than dynamic mounting
- Removed dependency on radix-ui Dialog components for mobile sidebar

fix scroll

fix sidebar style on mobile

apply default render to markdown

fix(ChatMessageList): set width to 100vw for full viewport coverage

fix small overflow

fix: overflow on PC

break model name anywhere

fix language
2025-02-07 18:56:13 +08:00
heimoshuiyu 9e173b8955 add render md by default option, fix chat role type 2025-02-03 13:52:38 +08:00
heimoshuiyu 0b3610935b fix: chatStore total_tokens count with reasoning 2025-01-22 19:19:54 +08:00
heimoshuiyu 7aee52d5a2 save reasoning_content 2025-01-22 18:52:38 +08:00
heimoshuiyu 6b78308bb5 feat: add maxTokens option to newChatStore 2025-01-21 09:51:39 +08:00
heimoshuiyu edcdc70a2b fix: enable/disable penalty in chatgpt.ts 2025-01-21 05:36:06 +08:00
heimoshuiyu 3151fb8477 add options to enable/disable presence/frequency penalty 2025-01-21 05:31:37 +08:00
heimoshuiyuandGitHub 1146d514d3 Merge pull request #19 from heimoshuiyu/dev
Enhance current API display
2025-01-21 05:25:25 +08:00
heimoshuiyu 99d9e4d3f1 fix: delete chat template cause dialog render panic 2025-01-09 15:49:24 +08:00
heimoshuiyu e34cc7375d refac: edit chat template 2025-01-09 14:42:12 +08:00
heimoshuiyu ba64aec5b0 scroll to bottom at message sent 2025-01-08 22:49:52 +08:00
heimoshuiyu f0db9e6b03 fix: mockOnChange on user input textarea 2025-01-08 10:46:08 +08:00
heimoshuiyu 74775b5265 fix: horizontal overflow, fix #17 2025-01-08 02:15:28 +08:00
heimoshuiyu 394da2217c fix: save edit message on blur 2025-01-08 01:58:41 +08:00
heimoshuiyu 137186e760 refactor: Input, Textarea maintain their own value, fix #8 2025-01-08 01:54:24 +08:00
heimoshuiyu d736c12ac1 Merge branch 'dev' 2025-01-08 01:26:44 +08:00
heimoshuiyu 99e557c1a8 fix type: setChatSthore is async 2025-01-08 01:25:11 +08:00
heimoshuiyu b68224b13b refactor: seperate AppContext and AppChatStoreContext 2025-01-08 01:24:16 +08:00
heimoshuiyu 20a152b899 ignore ctx is null early return 2025-01-08 00:17:01 +08:00
heimoshuiyuandGitHub 9cacc5c6d3 Merge pull request #15 from heimoshuiyu/dev
Feat: Add Chat Template Dropdown and Update Template Initialization Logic
2025-01-07 22:23:18 +08:00
heimoshuiyu 001eca79f6 save api to chat template 2025-01-07 18:59:30 +08:00
heimoshuiyu a4b8ed441c bring Chat Template back 2025-01-07 18:58:23 +08:00
heimoshuiyuandGitHub cdae105f3f Merge pull request #11 from heimoshuiyu/dev
refactor: hide API Endpoint overflow in Settings component for better display
2025-01-07 18:08:39 +08:00
heimoshuiyuandGitHub d98ad885b2 Merge pull request #10 from heimoshuiyu/dev
Major Structure Refactor and Feature Enhancements
2025-01-06 14:15:07 +08:00
heimoshuiyu c43c24d3d5 fix: import typo 2025-01-06 14:13:21 +08:00
heimoshuiyuandGitHub 8192649e16 Merge pull request #7 from heimoshuiyu/react-18
Build static content / build (push) Failing after 19s
downgrade react 18, fix markdown, fix #6
2024-12-31 18:09:43 +08:00
heimoshuiyu 8b95106cf8 move follow button into input sticky 2024-12-31 14:17:36 +08:00
heimoshuiyu 2b19648ffb downgrade react 18, fix markdown 2024-12-31 12:00:18 +08:00
heimoshuiyu a56aa0205d menu flex wrap 2024-12-30 15:51:38 +08:00
heimoshuiyu 263c23d942 fix: typo 2024-12-30 15:51:02 +08:00
heimoshuiyu 318122a41f update ci to node 22 2024-12-30 15:17:01 +08:00
heimoshuiyu 8c1e8da664 Merge branch 'dev' 2024-12-30 15:16:03 +08:00
heimoshuiyu dda88258ea change settings container to NonOverflowScrollArea 2024-12-30 15:15:23 +08:00
heimoshuiyu 7a5bd999a8 Revert "setting overflow scroll to outer element"
This reverts commit b157614329.
2024-12-30 14:59:34 +08:00
heimoshuiyu b157614329 setting overflow scroll to outer element 2024-12-30 10:48:03 +08:00
heimoshuiyu 115343cc27 sticky input component 2024-12-30 10:11:57 +08:00
heimoshuiyu 4dcc655e53 unextend ChatStoremessage 2024-12-30 09:18:45 +08:00
heimoshuiyu b52af0ca1e fix typo and cached_input token 2024-12-30 01:08:52 +08:00
heimoshuiyu 0e5d29b5ed update models 2024-12-30 00:47:32 +08:00
heimoshuiyu 7413bf10ff refac: cost estimate and user msg tokens estimate 2024-12-30 00:27:16 +08:00
heimoshuiyu 66a6f263a5 clean up chatStore 2024-12-27 18:02:14 +08:00
heimoshuiyu 092ac46c15 move status to AppContext 2024-12-27 17:39:03 +08:00
heimoshuiyu 0aacbeccb2 remove preact 2024-12-27 15:44:09 +08:00
heimoshuiyu 48ead03629 upgrade react 19, remove preact usage 2024-12-27 15:43:48 +08:00
heimoshuiyu 4b36debd0b format code 2024-12-27 14:25:12 +08:00
heimoshuiyu f0cc8d6270 add .prettierrc 2024-12-27 14:24:38 +08:00
heimoshuiyu b021f65a59 Merge remote-tracking branch 'github/dev' into dev 2024-12-25 18:04:28 +08:00
heimoshuiyu 6a7f273682 fix: chatStore.cost is null 2024-12-25 18:04:13 +08:00
heimoshuiyu 60b1481dab search screen 80% width max 2024-12-25 16:07:06 +08:00
heimoshuiyu 32935d9742 sorry my fault 2024-12-25 15:32:02 +08:00
heimoshuiyu 6acfc0d31d move chat actions to the buttom of bubble 2024-12-23 15:19:57 +08:00
heimoshuiyu 7428018173 remove max-w-[60%] 2024-12-23 15:00:32 +08:00
heimoshuiyu 926f3bea5c Fix types, replace preact with react 2024-12-22 23:04:36 +08:00
heimoshuiyu 9c2c314ce9 fix search 2024-12-19 09:43:19 +08:00
heimoshuiyu 3cd6bc5bc2 Handle NaN values in total cost calculations 2024-12-15 22:16:49 +08:00
heimoshuiyu f257d9e5b3 calculate streaming response cost 2024-12-08 17:18:07 +08:00
heimoshuiyu 626f406711 Revert "Deprecated max_token to max-completion_tokens"
Build static content / build (push) Successful in 7m54s
This reverts commit 9dd4d99e54.
2024-12-08 17:04:28 +08:00
heimoshuiyu 9dd4d99e54 Deprecated max_token to max-completion_tokens 2024-12-08 16:46:09 +08:00
heimoshuiyu 5039bdfca8 temperature default to 1 2024-12-08 16:41:42 +08:00
heimoshuiyu 64f1e3d70e update models 2024-12-08 16:41:02 +08:00
heimoshuiyu b98900873c more options on new chat store 2024-12-08 16:25:55 +08:00
heimoshuiyu 400ebafc37 format code 2024-12-08 16:19:20 +08:00
heimoshuiyu e7c26560bb store response_model_name by message 2024-12-08 16:19:04 +08:00
heimoshuiyu 6aca74a7b4 remove: update_total_token()
Build static content / build (push) Successful in 8m10s
2024-10-15 18:20:21 +08:00
heimoshuiyu a763355420 rename: tsx 2024-10-15 18:01:13 +08:00
heimoshuiyu 8122f6d8bf refac: pages/addToolMsg.tx 2024-10-15 18:00:25 +08:00
heimoshuiyu 31c49ff888 refac: components/WhisperButton.tsx 2024-10-15 17:52:32 +08:00
heimoshuiyu fd5f87f845 refac: components/StatusBar.tsx 2024-10-15 17:40:52 +08:00
heimoshuiyu 587d0ba57d rename components 2024-10-15 17:34:01 +08:00
heimoshuiyu 795cb16ed4 refac: componets/versionHint.tsx 2024-10-15 17:32:33 +08:00
heimoshuiyu 47d96198e8 refac: components/templates.tsx 2024-10-15 17:27:56 +08:00
heimoshuiyu eb8a6dc8ed move chatbox.tsx to pages/ 2024-10-15 17:20:28 +08:00
heimoshuiyu 32866d9a7f move: app.tsx to pages/ 2024-10-15 17:14:44 +08:00
heimoshuiyu 9cfb09a5ac refac: app.tsx 2024-10-15 17:13:21 +08:00
heimoshuiyu 7196799625 remove; buildFieldForSearch 2024-10-15 16:48:18 +08:00
heimoshuiyu 915987cbfe refac: @/indexed/upgrade 2024-10-15 16:47:03 +08:00
heimoshuiyu 9855027876 refac: @/utils/buildForSearch.ts 2024-10-15 15:11:21 +08:00
heimoshuiyu 2670183343 refact: @/utils/totalCost.tx 2024-10-15 15:07:05 +08:00
heimoshuiyu ad291bd72e refac: move const STORAGE_NAME 2024-10-15 15:04:27 +08:00
heimoshuiyu 1fbd4ee87b refac: export getDefaultParam 2024-10-15 15:01:51 +08:00
heimoshuiyu af2ae82e74 refac: newChatStore to use options 2024-10-15 14:59:20 +08:00
heimoshuiyu 9e74e419c9 bump gitlab ci node to version 20.x 2024-10-15 14:57:57 +08:00
heimoshuiyu ee9da49f70 refac: models newChatStore 2024-10-15 10:34:35 +08:00
heimoshuiyu dccf4827c9 refac: @/types/chatstore.ts 2024-10-15 10:18:20 +08:00
heimoshuiyu 04bac03fd7 move chatstore to @types/chatsotre.ts 2024-10-15 09:44:40 +08:00
heimoshuiyu f0f040c42c use @ import alias
Build static content / build (push) Successful in 10m51s
2024-10-14 18:09:07 +08:00