Commit Graph

765 Commits

Author SHA1 Message Date
Cesaryuan 21aa015a79 fix: remove slection range when user blured 2023-06-14 14:30:08 +08:00
Yifei Zhang dd5b9d420b
Merge pull request #1928 from samelamin/fix_chat_time
fix date time bug on chat lists
2023-06-14 11:31:00 +08:00
suhipek d2ae740d5f add new models 2023-06-14 01:51:37 +08:00
samelamin c56c6074e9 fix date time bug 2023-06-13 18:32:51 +01:00
Yidadaa 50cd33dbb2 feat: #1000 ready to support client-side only 2023-06-14 00:37:42 +08:00
Yidadaa a7e9356c16 fixup: #1762 optimize style on mobile screen 2023-06-13 03:04:09 +08:00
Yidadaa 88df4a2223 feat: close #1762 add hover text for chat input actions 2023-06-13 02:27:39 +08:00
Yidadaa 0d4611052e feat: white url list for openai security 2023-06-13 00:39:29 +08:00
Old Dream 1d790b9e8d
修改 auth.tsx 输入框为password 2023-06-09 12:39:42 +08:00
Yidadaa 6410aa214e feat: just disable all ngnix buffer 2023-06-08 23:49:06 +08:00
Yidadaa a3a77006ff fixup: #1815 req.body will be broken in edge runtime 2023-06-07 02:24:45 +08:00
Yidadaa ebbd0128f1 feat: close #741 add auth page 2023-06-07 02:18:24 +08:00
Yidadaa 57514e91b6 fix: #1685 clear context index should be recoverable 2023-06-07 01:18:05 +08:00
Yidadaa 37da759fd5 fix: #1815 refuse to serve when disable gpt4 2023-06-07 01:02:01 +08:00
AngelLiang 72cbb156ae feat: Add frequency_penalty request parameter 2023-06-04 16:05:35 +08:00
Yifei Zhang 94be03ec4f
Merge pull request #1781 from yanCode/fix/css-top-actions
fix: [CSS] the position of top-action buttons
2023-06-01 10:57:45 +08:00
ShengYan, Zhang 6bbdaf7ab0 fix: the display format of json 2023-05-31 19:39:39 +08:00
ShengYan, Zhang 846e323840 fix: the position of top-action buttons 2023-05-31 15:45:12 +08:00
LeviDing c1cc3d1d1f
fix: style typo error in home.module.scss 2023-05-30 18:42:13 +08:00
ShengYan, Zhang 7ac03b4d89 chore: remove unused code 2023-05-29 09:54:02 +08:00
popcell d533895637 fix: #1746 Can't modify immutable headers. 2023-05-25 17:50:46 +08:00
Yifei Zhang aa74a74c5c
Merge pull request #1742 from wsw2000/refactor/listitem-undefined-classname
refactor: Fix undefined className in ListItem
2023-05-25 16:40:51 +08:00
wsw 96d2f05eb7 refactor: Fix undefined className in ListItem 2023-05-25 01:13:19 +08:00
Yidadaa 3e65ef3bea feat: share to ShareGPT 2023-05-25 01:04:37 +08:00
Yidadaa 4ca34e0436 fix: #1711 input range style in mobile screen 2023-05-24 23:21:18 +08:00
gtoxlili ed14a0029a fix : issues #1732 2023-05-24 21:08:32 +08:00
Yifei Zhang 8874c687d8
Merge pull request #1728 from yanCode/fix/steps
fix:  bug #1727
2023-05-24 20:04:30 +08:00
jarieshan 3e3055d7df Add Jailbreak Mask 2023-05-24 17:33:04 +08:00
jarieshan b68d6e9d1a Revert "Add Jailbreak Mask"
This reverts commit cf9d200b7c.
2023-05-24 17:23:43 +08:00
jarieshan cf9d200b7c Add Jailbreak Mask 2023-05-24 17:19:27 +08:00
ShengYan, Zhang e84da3089a fix state loss after user switches from steps 2023-05-24 14:44:06 +08:00
ShengYan, Zhang fee38b8d13 fix: a few typos 2023-05-24 14:42:36 +08:00
Yifei Zhang adb50fe64f
Merge pull request #1695 from PaRaD1SE98/PaRaD1SE98-patch-2
fix: use Select component
2023-05-23 16:27:42 +08:00
imgbot[bot] cd7e8bbd3e
chore: optimize images (#1)
*Total -- 122.47kb -> 90.64kb (25.98%)

/public/android-chrome-512x512.png -- 23.67kb -> 8.61kb (63.61%)
/app/icons/chatgpt.png -- 9.37kb -> 3.59kb (61.73%)
/app/icons/bot.png -- 7.14kb -> 4.98kb (30.2%)
/app/icons/three-dots.svg -- 1.46kb -> 1.09kb (25.75%)
/public/apple-touch-icon.png -- 11.30kb -> 8.45kb (25.21%)
/public/android-chrome-192x192.png -- 12.39kb -> 9.60kb (22.51%)
/public/favicon-32x32.png -- 1.51kb -> 1.22kb (19.21%)
/app/icons/min.svg -- 2.41kb -> 2.04kb (15.2%)
/app/icons/max.svg -- 2.24kb -> 1.90kb (14.98%)
/app/icons/menu.svg -- 1.17kb -> 1.00kb (14.64%)
/app/icons/share.svg -- 0.72kb -> 0.63kb (12.84%)
/app/icons/add.svg -- 1.25kb -> 1.09kb (12.46%)
/app/icons/github.svg -- 1.97kb -> 1.76kb (10.68%)
/app/icons/brain.svg -- 1.81kb -> 1.64kb (9.42%)
/app/icons/black-bot.svg -- 4.17kb -> 3.89kb (6.66%)
/docs/images/icon.svg -- 4.17kb -> 3.89kb (6.57%)
/app/icons/bottom.svg -- 0.72kb -> 0.69kb (4.08%)
/app/icons/download.svg -- 1.70kb -> 1.64kb (3.96%)
/app/icons/left.svg -- 0.56kb -> 0.54kb (3.49%)
/app/icons/down.svg -- 0.56kb -> 0.54kb (3.48%)
/app/icons/mask.svg -- 2.13kb -> 2.06kb (3.21%)
/app/icons/export.svg -- 1.20kb -> 1.16kb (3.17%)
/app/icons/copy.svg -- 0.99kb -> 0.96kb (2.87%)
/app/icons/prompt.svg -- 1.23kb -> 1.20kb (2.38%)
/app/icons/plugin.svg -- 3.54kb -> 3.48kb (1.6%)
/app/icons/delete.svg -- 23.11kb -> 23.00kb (0.49%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-05-23 13:57:26 +08:00
parad1se_jp 99317f759b fix: use Select component 2023-05-23 01:57:45 +09:00
Yidadaa d34676c5b2 fixup 2023-05-22 23:59:11 +08:00
Yidadaa 4cf659c29b chore: wont send system info if user use a mask 2023-05-22 23:52:09 +08:00
Yidadaa ec61a5b32d fix: #1681 replace svg icons with png icons 2023-05-22 23:49:11 +08:00
Yidadaa 58f726c602 fix: #1668 should not summarize twice 2023-05-22 23:12:26 +08:00
Yifei Zhang e9642c7505
fix: #1688 wrong clear context index 2023-05-22 18:56:19 +08:00
Yifei Zhang f0b4ef5917
Merge pull request #1679 from Yidadaa/export
chore: mobile export image style
2023-05-22 01:25:49 +08:00
Yidadaa 1f12753c68 chore: mobile export image style 2023-05-22 01:23:08 +08:00
Yifei Zhang 0439d122a5
Merge pull request #1678 from Yidadaa/export
feat: close #580 export messages as image
2023-05-22 01:02:58 +08:00
Yidadaa 4dad7f2ab6 feat: close #580 export messages as image 2023-05-22 00:59:36 +08:00
ShengYan, Zhang 23f6c2e8c9 fix: bug #1662 2023-05-21 11:58:10 +08:00
Yidadaa 05b1b8b240 feat: close #1382 only clear memory btn in chat config 2023-05-21 02:04:30 +08:00
Yidadaa 35cec0f1df fixup: i18n and icon minor changes 2023-05-21 01:44:59 +08:00
Yidadaa a19d238483 feat: close #1415 clear context button 2023-05-21 01:28:09 +08:00
Yidadaa c2b36cdffa feat: prevent browser to invoke basic auth popup 2023-05-21 00:06:28 +08:00
Yidadaa 600b1814a1 fix: wont show auth popup when receiving a 401 http code 2023-05-20 23:58:36 +08:00
Yidadaa 76e6957a8a fixup 2023-05-20 23:53:39 +08:00
Yidadaa f14b413b7c feat: scrollable mask lists in new-chat page 2023-05-20 23:49:10 +08:00
Yidadaa 6d8c7ba140 feat: close #1626 hide context prompts in mask config 2023-05-20 20:08:17 +08:00
Yidadaa af497c96ec fix: #1612 infinite loading 2023-05-20 19:58:12 +08:00
Yidadaa b1ba3df989 feat: close #1478 new chat use global config as default 2023-05-20 00:39:52 +08:00
Yidadaa 203ac0970d feat: #1640 support free gpt endpoint 2023-05-19 23:53:27 +08:00
ShengYan, Zhang f8ef6278a5 fix: css on display chat names 2023-05-19 20:14:57 +08:00
Yifei Zhang 7f13a8d2bc
feat: support fast chatgpt mobile models 2023-05-19 18:34:48 +08:00
ShengYan, Zhang f6c268dc1e fix: allow to import a single mask 2023-05-19 10:39:34 +08:00
Yidadaa 50cfbaaab5 feat: partial locale type 2023-05-19 00:59:04 +08:00
Yidadaa de775511d0 feat: some en masks 2023-05-19 00:38:39 +08:00
Yidadaa a524a60c46 fix: #1611 show corret message when can not query usage 2023-05-19 00:27:25 +08:00
Yidadaa 6cf2fa02e5 fix: #1612 fill empty message with a placeholder 2023-05-19 00:24:25 +08:00
Yifei Zhang 1a8cb877db
Merge pull request #1605 from Allengl/update
add new mask 简历写手
2023-05-18 17:33:22 +08:00
Clarence Dan ac79d810d0
Fix memory leak issue by adding fetch request timeout
This commit resolves a memory leak issue that was occurring due to fetch requests hanging indefinitely. A timeout has been introduced to the `requestOpenai` function which ensures that these requests are aborted after a set period of time (currently 10 minutes). Additionally, error handling has been added to catch and log `AbortError` when a fetch request is aborted. This fix significantly improves the stability and reliability of the application by preventing memory leaks related to unresolved fetch requests.
2023-05-18 16:55:51 +08:00
Clarence Dan 2b912c6834
fix: Fix memory leak issue by adding fetch request timeout
This commit resolves a memory leak issue that was occurring due to fetch requests hanging indefinitely. A timeout has been introduced to the `requestOpenai` function which ensures that these requests are aborted after a set period of time (currently 10 minutes). Additionally, error handling has been added to catch and log `AbortError` when a fetch request is aborted. This fix significantly improves the stability and reliability of the application by preventing memory leaks related to unresolved fetch requests.
2023-05-18 16:52:32 +08:00
guolong cf2404743d add new mask 简历写手 2023-05-18 16:49:30 +08:00
Yifei Zhang 38bffd423c
Merge pull request #1580 from Allengl/update
Add Korean translation 增加国际化语言:韩语
2023-05-18 11:38:54 +08:00
kirk.shan 789f3d993c fix content-type = text/event-stream;charset=utf-8 2023-05-18 10:25:06 +08:00
Allen d5376ab090
Merge branch 'Yidadaa:main' into update 2023-05-18 09:15:27 +08:00
Yidadaa 3fe521421f chore: dynamic server config 2023-05-18 02:15:30 +08:00
Yidadaa 85445c4ef2 chore: wont parse finished result 2023-05-18 02:09:05 +08:00
Yidadaa 5f2745c32a feat: handle non-stream response 2023-05-18 02:04:12 +08:00
Yidadaa 736c66f46a feat: stop all stale messages 2023-05-18 01:24:36 +08:00
Yidadaa 30676d118f fix: #1571 #1578 handle more error code 2023-05-18 00:14:29 +08:00
root e306ac0197 add type LocaleType 2023-05-17 23:20:48 +08:00
root 65c6b4af82 Add Korean translation 2023-05-17 22:59:35 +08:00
Yifei Zhang a402f646fe
Merge pull request #1562 from Gan-Xing/update
Add French Translation -- 增加法语翻译
2023-05-17 20:53:49 +08:00
ShengYan, Zhang 94a2104b55 fix: set openWhenHidden to be true 2023-05-17 17:20:17 +08:00
Gan-Xing 75bf75d552 法语翻译key值修改 2023-05-17 12:20:48 +08:00
Gan-Xing 5bbe59c9a2
Merge branch 'Yidadaa:main' into main 2023-05-17 12:01:44 +08:00
Yifei Zhang 31a874e24e
Revert "feat: close #1433 add french translation" 2023-05-17 11:18:21 +08:00
Yifei Zhang 987412db51
Merge pull request #1435 from Gan-Xing/update
add french translation -增加法语翻译
2023-05-17 10:46:30 +08:00
ShengYan, Zhang e00652ce86 fix: #1533 handle non-stream type 2023-05-17 08:50:50 +08:00
Gan-Xing dbb016c9e4
Merge branch 'Yidadaa:main' into main 2023-05-16 16:12:20 +08:00
simondby 44874fb5e0 fix: typo PresencePenlty -> PresencePenalty 2023-05-16 15:40:43 +08:00
Yifei Zhang daecd3efa1
Merge pull request #1534 from Quorafind/fix_enter_key_to_select_prompt
Fix: press enter to select prompt when set pressing `enter` key to submit
2023-05-16 15:33:36 +08:00
Yifei Zhang 86e4b58117
Merge pull request #1533 from legionhealth/github-copilot-mask
GitHub Copilot mask (english)
2023-05-16 15:33:27 +08:00
Daniel G. Wilson 7141962cce
Update en.ts to fix quotes for Copilot mask 2023-05-15 23:11:04 -05:00
Quorafind cf775e3487 fix: enter key cannot select prompt when using enter key to submit 2023-05-16 12:06:06 +08:00
Daniel G. Wilson 44e1bed57a
Update en.ts whoops actually fixed single / double quotes 2023-05-15 22:55:42 -05:00
Daniel G. Wilson 915ba07f86
Update en.ts - fixed single quotes to match original 2023-05-15 22:54:41 -05:00
Daniel G. Wilson a852c5d0c3
Update en.ts masks to include GitHub Copilot mask (leaked prompt) 2023-05-15 22:52:44 -05:00
PaRaD1SE98 8cde6cd4d7
Merge pull request #1 from PaRaD1SE98/fix_typo
fix: typo reqestTimeoutId -> requestTimeoutId
2023-05-16 10:01:45 +09:00
PaRaD1SE98 06534fa0ae
fix: typo reqestTimeoutId -> requestTimeoutId 2023-05-16 09:59:30 +09:00
Gan-Xing 8568fc3544
Merge branch 'Yidadaa:main' into main 2023-05-16 07:13:53 +08:00
Yidadaa 71cbf86b2c fixup: add more error info 2023-05-16 01:58:58 +08:00
Yidadaa aed6b34950 fix: #1498 missing text caused by streaming 2023-05-16 01:25:16 +08:00
Gan-Xing e9076c1748
Merge branch 'Yidadaa:main' into main 2023-05-16 00:33:18 +08:00
Yidadaa 8b0cf7d248 fix: #1509 openai url split 2023-05-16 00:22:11 +08:00
PaRaD1SE98 b357e2ecef
fix: typo IMPRTANT -> IMPORTANT 2023-05-15 10:03:11 +09:00
Gan-Xing 7b4e4c2172
Merge branch 'Yidadaa:main' into main 2023-05-15 07:31:52 +08:00
Yidadaa 9e602eb575 fixup: decode in stream mode 2023-05-15 02:01:50 +08:00
Yidadaa 5979bdd48e fixup 2023-05-15 01:55:45 +08:00
Yidadaa 5f444c1c82 fix: conflict 2023-05-15 01:36:22 +08:00
Yidadaa a3de277c43 refactor: #1000 #1179 api layer for client-side only mode and local models 2023-05-15 01:33:46 +08:00
Yifei Zhang b5b8593e7f
Merge pull request #1492 from Yidadaa/bugfix-0514
fix: #1444 async load google fonts
2023-05-14 23:29:01 +08:00
Yidadaa 03163d6a61 fix: #1444 async load google fonts 2023-05-14 23:25:22 +08:00
Yidadaa bd90caa99d refactor: llm client api 2023-05-14 23:00:17 +08:00
Yifei Zhang cada0aa70b
Merge pull request #1491 from Yidadaa/bugfix-0514
fix: #1423 should not scroll right when dragging side bar items
2023-05-14 22:57:01 +08:00
Gan-Xing cbde357d94
Merge branch 'Yidadaa:main' into main 2023-05-14 20:25:13 +08:00
Gan-Xing c73c063ad5 merge 2023-05-14 07:34:15 +08:00
Yidadaa 6da3aab046 fix: #1423 should not scroll right when dragging side bar items 2023-05-14 02:21:35 +08:00
PaRaD1SE98 ff2589c97f
remove error messages for chat title summary 2023-05-14 02:34:32 +09:00
PaRaD1SE98 a9f000e7ef
remove error messages in toBeSummarizedMsgs 2023-05-14 01:24:20 +09:00
Yifei Zhang d9be63e6cb
Merge pull request #1452 from PaRaD1SE98/main
fix: typo upater -> updater
2023-05-13 14:52:12 +08:00
Yifei Zhang 1a626a68f0
Merge pull request #1450 from yorunning/fix-1
fix: the theme-color selector
2023-05-13 14:50:54 +08:00
Yifei Zhang 330504b91e
Merge pull request #1446 from wsw2000/feat/switchWindowScrollIntoView
feat: scrolling effect when switching chat windows
2023-05-13 14:50:42 +08:00
Yifei Zhang 6bb0166055
Merge pull request #1454 from yanCode/fix/i18n
fix: show Vietnamese in its own language
2023-05-13 14:48:06 +08:00
InitialXKO 5b9b120fa6
增加文生图面具 2023-05-13 09:36:04 +08:00
ShengYan, Zhang a0e192b6e4 fix: show Vitenamese in it's own language 2023-05-13 07:23:14 +08:00
PaRaD1SE98 dc3fa6c780
Update settings.tsx
fix: typo upater -> updater
2023-05-12 22:46:22 +09:00
Yorun dd5604f5d9 style: move nextjs supported meta tags to metadata 2023-05-12 19:23:49 +08:00
Yorun 170936a96e fix: the theme-color selector 2023-05-12 18:47:41 +08:00
wsw 93c9974019 feat: scrolling effect when switching chat windows 2023-05-12 17:54:40 +08:00
Gan-Xing dbd92b2db9
Merge branch 'Yidadaa:main' into main 2023-05-12 08:26:45 +08:00
599153574@qq.com f2b81a2f23 add french translation -增加法语翻译 2023-05-12 07:51:04 +08:00
Yidadaa 36adfe87fb fix: #1401 try to disable zoom 2023-05-11 23:21:16 +08:00
Yifei Zhang cdfcf0f068
Merge pull request #1421 from zxdclyz/hide-hints
Fix: click the prompt button to hide hints when it's already shown
2023-05-11 18:53:59 +08:00
liyuze ec19b86ade fix: click the prompt button to hide hints when it's already shown 2023-05-11 18:29:25 +08:00
ShengYan, Zhang 7bf74c6a5d fix: bug #1413 cmd/alt/ctrl should be checked for arrowUp events 2023-05-11 16:08:34 +08:00
ShengYan, Zhang cbb50c14e1 fix: bug #1413 input '/' when clicking icon to open prompt modal 2023-05-11 15:42:32 +08:00
Yifei Zhang d42622a5c1
Merge pull request #1383 from PaRaD1SE98/main
给所有select元素添加一个右侧下拉按钮
2023-05-11 11:48:59 +08:00
Petr Branberger c87eee1fda Fixed typo syntax error 2023-05-10 16:33:22 +02:00
PaRaD1SE98 960aa90c32 优化Select component 2023-05-10 14:09:30 +00:00
Per André Rønsen 5a10b2a75f Update no.ts with const no: LocaleType 2023-05-10 14:59:57 +01:00
Per André Rønsen 72b553efe8 Add files for Norwegian translation 2023-05-10 14:59:36 +01:00
Petr Branberger c4210be3c7 Czech language update 2023-05-10 15:48:36 +02:00
Petr Branberger 28a49827ff Merge branch 'main' of https://github.com/pBrambi/ChatGPT-Next-Web 2023-05-10 15:12:31 +02:00
Petr Branberger 736869454b Fix /cs.ts to include the option 2023-05-10 12:50:12 +02:00
Petr Branberger db9084b0dc Fix redefined "DE" in /index.ts 2023-05-10 12:39:33 +02:00
crim50n 71a546dd44 Adding Russian translation
Adding a Russian translation and fixing other language files to make them look the same.
2023-05-10 10:16:40 +03:00
PaRaD1SE98 96e3d3a22c 给所有select元素添加一个右侧下拉按钮 2023-05-10 07:14:49 +00:00
ShengYan, Zhang a80dcaa1c3 fix: row count logic 2023-05-10 09:27:33 +08:00
Yidadaa cb55ce084c feat: add model and time info to prompts 2023-05-10 00:51:43 +08:00
Yidadaa e4630e6a0f fixup 2023-05-09 23:38:34 +08:00
Yidadaa 6d9abf11b8 fix: #1363 session index after deleting 2023-05-09 23:36:30 +08:00
Yidadaa 7e8def50aa feat: close #444 use env var to disable gpt-4 2023-05-09 23:20:03 +08:00
Yidadaa 2b7f72deec feat: close #1055 cmd/alt/ctrl + arrow up/down to switch window 2023-05-09 23:01:17 +08:00
Yidadaa 9b1f25140e fix: #1359 empty line wrap count 2023-05-09 22:46:06 +08:00
Yidadaa 222301307f feat: close #1301 support message actions 2023-05-09 00:39:00 +08:00
Yidadaa 1b19fdfe11 feat: #1303 improve long text input ux and mobile modal 2023-05-08 22:49:51 +08:00
Yidadaa 1f2ef1cdb7 fix: #1307 empty messages 2023-05-08 22:21:06 +08:00
Yidadaa c394b21423 fix: #1294 fallback while mermaid render fails 2023-05-08 22:18:19 +08:00
Yifei Zhang 696e84ea88
Merge pull request #1315 from binh234/vi_translation
Add Vietnamese translation
2023-05-08 11:51:28 +08:00
ShengYan, Zhang 9bcfe6461d chore: remove an unused css name 2023-05-08 08:48:47 +08:00
ShengYan, Zhang 4a82a91f2d fix: styles on .user-prompt-buttons 2023-05-08 08:27:10 +08:00
Mokou 6d62ab4257 feat: mobile chat overscroll-behavior none 2023-05-07 18:33:40 +08:00
Binh Le f6ff32f339 Add Vietnamese translation 2023-05-07 14:54:09 +07:00
LaChimere 1facbb2906 fix typo 2023-05-07 13:52:26 +08:00
ShengYan, Zhang 96545bd523 fix: show Loading Icon when checking repo update 2023-05-06 20:12:26 +08:00
Yidadaa d88da1f6ab feat: close #951 support mermaid 2023-05-05 23:32:35 +08:00
Yidadaa fe8e3f2bcf fix: #1273 overlap detecting 2023-05-05 22:59:21 +08:00
Yidadaa 4b9d753254 fix: #1251 use google fonts mirror 2023-05-05 22:49:41 +08:00
Yifei Zhang ec655f5182
Merge pull request #1248 from wsw2000/main
refactor: determine userInput by trimming
2023-05-04 23:26:02 +08:00
Yifei Zhang 093df395c7
Merge pull request #1235 from xesrc/main
resolve problem about basic auth when the app is behind a proxy server
2023-05-04 23:25:49 +08:00
wsw 319959ad6e refactor: determine userInput by trimming 2023-05-04 22:53:22 +08:00
Yidadaa c2e79d22d2 fix: #1233 detect api key with custom prefix 2023-05-04 22:50:07 +08:00
Yidadaa 596c9b1d27 feat: close #887 import masks 2023-05-04 22:33:13 +08:00
Yidadaa 40223e6b3f fix: #1237 can not delete cloned mask 2023-05-04 22:31:10 +08:00
Yidadaa eec1dd6448 fix: proxy api request 2023-05-04 22:18:03 +08:00
xesrc a5fe9bc6d6 resolve problem about basic auth when the app is behind a proxy server 2023-05-04 16:11:44 +08:00
Yidadaa fce3b3ce7b feat: use commit time as version id 2023-05-04 00:12:00 +08:00
Yidadaa 074bd9f045 feat: close #663 allow disable user api key input 2023-05-03 23:49:33 +08:00
Yidadaa b1ea26467d refactor: extract client side openai url 2023-05-03 23:25:17 +08:00
Yidadaa 48ebd74859 refactor: merge token and access code 2023-05-03 23:08:37 +08:00
Yidadaa ef5b7ce853 refactor: merge /api/chat-stream to /api/openai 2023-05-03 17:07:09 +08:00
Yidadaa 06268543d0 fixup 2023-05-03 16:24:25 +08:00
Yidadaa 58eadd6d7b feat: close #782 select prompt with arrow down / up 2023-05-03 16:22:37 +08:00
Yidadaa f250594e97 Merge branch 'main' into bugfix-0503 2023-05-03 15:56:02 +08:00
Yidadaa c1b6828ed4 fix: #1201 wont close prompt list when blur 2023-05-03 15:55:46 +08:00
Yidadaa 328ecd1cfb fix: #1210 change default lang to en 2023-05-03 15:22:44 +08:00
Clarence Dan aeda7520fe
fix: Resolve markdown link issue
Resolved Markdown Issue
This pull request also resolves an issue where internal links were not redirecting properly in markdown, and optimizes the behavior for external links to open in a new window.
2023-05-02 11:18:18 +08:00
Yidadaa 717c123b82 feat: improve mask ui 2023-05-02 03:10:13 +08:00
Yidadaa 132f6c8420 feat: improve mask ui 2023-05-02 03:01:42 +08:00
Yidadaa 116e16e30d fixup 2023-05-02 02:52:25 +08:00
Yidadaa ae8050a3f7 fixup 2023-05-02 02:45:15 +08:00
Yidadaa f5a5cffdec fixup 2023-05-02 02:38:30 +08:00
Yidadaa 220c622f8f fixup 2023-05-02 02:37:15 +08:00
Yidadaa e509749421 perf: improve prompt list performance 2023-05-02 02:26:43 +08:00
Yidadaa a69cec89fb perf: close #909 reduce message items render time 2023-05-02 00:31:44 +08:00
Yidadaa 8f5c289818 fix: #751 do not cache request 2023-05-01 23:48:23 +08:00
Yidadaa 1aaf4ae5bc fix: #1126 can not select prompt 2023-05-01 23:39:54 +08:00
Yidadaa 9f3188fe45 fix: #1124 mask model config does not works 2023-05-01 23:37:02 +08:00
Yidadaa b2fc7d476a fix: #1147 edit mask after creating a new mask 2023-05-01 23:23:39 +08:00
Yidadaa c37885e743 fix: #1130 #1131 delete right session 2023-05-01 23:21:28 +08:00
Yidadaa 0209ace221 fix: #1154 wrong date range when query usage 2023-05-01 22:53:33 +08:00
Zhenyu Zhu ba0753c418 fix: mask download not working 2023-04-28 19:25:03 +08:00
Yidadaa 6419ce345f fix: hot fix for data migration 2023-04-28 01:54:57 +08:00
Yidadaa ace3f7f532 Merge branch 'main' into session-config 2023-04-28 00:35:04 +08:00
Yidadaa fb32770486 feat: i18n refactor and style adjustment 2023-04-28 00:34:37 +08:00
Yidadaa 6c1144f6f4 fixup 2023-04-27 02:14:38 +08:00
Yidadaa 59edcc3e2e feat: add side bar mask entry 2023-04-27 02:12:09 +08:00
Yidadaa 30040a0366 feat: migrate state from v1 to v2 2023-04-27 02:00:22 +08:00
Yifei Zhang a604644da7
Merge pull request #1102 from BaiMeow/main
fix: use innerHTML may leads unexpected script execution
2023-04-27 01:21:36 +08:00
Yidadaa 401c1364be fix: merge conflict 2023-04-27 01:18:09 +08:00
Yidadaa c7c58ef031 feat: add i18n for mask 2023-04-27 01:16:21 +08:00
Shi Liang 0f9fe92fa3
修复在聊天很短没有覆盖整个区域时显示回到底部按钮的bug 2023-04-26 21:42:43 +08:00
柏喵Sakura bbf3d044cb
Merge branch 'Yidadaa:main' into main 2023-04-26 21:25:21 +08:00
BaiMeow 7ed8517771 fix: innerHTML may leads to script execution 2023-04-26 21:24:14 +08:00
Yifei Zhang 2deb5cbc9e
fix: #1094 try to disable zoom on ios safari 2023-04-26 14:43:43 +08:00
Yidadaa 3cda44e05b fixup 2023-04-26 02:05:35 +08:00
Yidadaa a7a8aad9bc feat: add mask crud 2023-04-26 02:02:46 +08:00
Yidadaa ffa7302571 feat: add mask page 2023-04-25 00:49:27 +08:00
Peter Dave Hello e5e2f6c2e1 Improve tw locale 2023-04-24 04:11:12 +08:00
Yidadaa 708c6829f7 fixup 2023-04-24 01:17:28 +08:00
Yidadaa aeb986243c feat: add mask screen 2023-04-24 01:15:44 +08:00
Yidadaa e654cee3c8 fixup: request params 2023-04-23 21:54:18 +08:00
Yidadaa b23adf9d5d fixup 2023-04-23 01:37:47 +08:00
Yidadaa 7345639af3 feat: add session config modal 2023-04-23 01:27:15 +08:00
Yidadaa 4cdb2f0fa3 feat: session-level model config 2023-04-22 01:13:23 +08:00
雲霧 79f58f5c6a
fix: typo 2023-04-22 00:47:15 +08:00
Yifei Zhang 56d098c317
Merge pull request #980 from 0x9be00ff1/fix-presence-penalty-step
[Fix] adjust presence_penalty step 0.1
2023-04-22 00:43:44 +08:00
Yidadaa a3ca8ea5c4 feat: new chat-item avatar 2023-04-22 00:35:50 +08:00
Yidadaa ae479f4a92 fix: #963 config not work 2023-04-22 00:12:07 +08:00
Yidadaa ab826363ea fix: #965 improve loading animation 2023-04-21 23:37:25 +08:00
Yidadaa e1ce1f2f40 feat: close #976 esc to close modal 2023-04-21 23:28:53 +08:00
Yidadaa 209a727fe9 feat: close #928 summarize with gpt3.5 2023-04-21 23:22:02 +08:00
Zhenyu Zhu 4d45c07bf2 fix: adjust presence_penalty step 0.1 2023-04-21 18:52:32 +08:00
Shi Liang ffb0fa25f1
Merge pull request #1 from shih-liang/patch-1
chat-stream: runtime = "experimental-edge";
2023-04-21 13:08:01 +08:00
Shi Liang 8966fd3b23
openai runtime = "experimental-edge"; 2023-04-21 13:03:38 +08:00
Shi Liang b6a7104b60
chat-stream: runtime = "experimental-edge"; 2023-04-21 13:03:02 +08:00
Yidadaa 82ad0573be feat: close #380 collapse side bar 2023-04-21 02:52:53 +08:00
pBrambi 6a74d62e98 Czech 2023-04-20 19:26:31 +02:00
Yidadaa 5185166e3b fixup 2023-04-21 01:18:49 +08:00
Yidadaa 693dcf12d6 refactor: close #643 use react router 2023-04-21 01:12:39 +08:00
Yidadaa 55281ed548 feat: reactive isMobileScreen 2023-04-20 23:20:25 +08:00
Yidadaa 2390da1165 fix: #930 wont show delete for first message 2023-04-20 23:09:42 +08:00
Yidadaa 06d503152b feat: close #928 summarize with gpt-3.5 2023-04-20 23:04:58 +08:00
Yidadaa 2e9e69d66c fixup 2023-04-20 22:58:19 +08:00
Yidadaa 7e8973c9ff feat: close #291 gpt-4 model uses black icon 2023-04-20 22:52:14 +08:00
pBrambi 35ccfb14c2 Create cs.ts
Czech language translation
2023-04-20 01:02:43 +02:00
Yin Min 21da781350 Update common.ts
Add OrgID
2023-04-19 19:28:33 +08:00
Yifei Zhang 072a35b4ee
fix: #915 allow send 0 history messages 2023-04-19 11:20:07 +08:00
Yifei Zhang e68f17b463
Merge pull request #902 from ClarenceYk/for_test
Update app/components/chat.tsx
2023-04-18 19:10:30 +08:00
Ma Yuke dfcae92ae0 Update app/components/chat.tsx
fix: chat-body flickers when click-and-hold the scroll bar using mouse
2023-04-18 18:01:09 +08:00
aooyoo d1653ded9a fix user prompt translation 2023-04-18 08:13:32 +00:00
Yifei Zhang 8da581695f
Merge pull request #893 from L1468999760/add_alpha
fix:delete user.svg
2023-04-18 11:55:28 +08:00
Yifei Zhang 9e46ca31dd
Merge pull request #892 from Yidadaa/improve-memory
feat: close #864 improve long term history
2023-04-18 11:54:24 +08:00
Yidadaa ad1c8ffe21 fixup 2023-04-18 11:44:15 +08:00