Commit graph

170 commits

Author SHA1 Message Date
Jing Hua 55aa22a28b feat: search chats / folders
fixes #102
2023-04-01 22:45:57 +08:00
Jing Hua 13fc68907c style: limit chat title height on mobile 2023-04-01 12:08:05 +08:00
Tindo N. Arsel 7cb8aa0b4a
update new folder icon (#177) 2023-04-01 11:28:29 +08:00
Jing Hua e14f44b8c9 feat: prompts import and export
Fixes #71
2023-03-31 23:33:47 +08:00
Jing Hua 2c89c9325b reorder about popup 2023-03-31 22:04:50 +08:00
Jing Hua 5f7b445225 disable enter to submit for mobile 2023-03-30 16:55:53 +08:00
akira0245 63596c20d4
feat: add shortcut for "save and submit" when editing message (#127)
save and submit the edited message when ctrl and shift key been pressed simultaneously.

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-03-30 16:06:51 +08:00
Jing Hua 78bf777365 feat: option for enterToSubmit / shiftEnterToSubmit
Fixes #88
2023-03-30 16:01:01 +08:00
Jing Hua fd14260c84 feat: clone chat
fixes #160
2023-03-29 20:39:31 +08:00
Jing Hua 29013bbd76 import folders / clear folders 2023-03-28 01:06:58 +08:00
Jing Hua cb9f6fb3db fix: keep folders expanded 2023-03-27 23:07:32 +08:00
Jing Hua a0c43a4ac0 chat history enter to save edits 2023-03-27 23:00:40 +08:00
Jing Hua fe8d6ccced
feat: chat folders (#146)
* feat: folder

* folder functionality

* i18n
2023-03-27 21:41:45 +08:00
Ayaka Mikazuki 404dae8dff fix bug 2023-03-27 17:40:45 +10:00
Ayaka Mikazuki 191739d995 remove free APIs
Remove free APIs as they ran out of funding. Users can still use
third-party free APIs by using custom endpoints.

Ref: #144

Squashed commit of the following:

commit 81e9b9963ea8c4532c110bfe2ddb67b603683875
Author: Ayaka Mikazuki <ayaka@mail.shn.hk>
Date:   Mon Mar 27 17:30:11 2023 +1000

    update translations

commit 7bf023ed2f392e79026dd1d4154b83397bba2249
Author: Ayaka Mikazuki <ayaka@mail.shn.hk>
Date:   Mon Mar 27 16:44:36 2023 +1000

    update API menu

commit 641b34cfafbc8e10d3ba9730f58a3f10a57dd52b
Author: Jing Hua <tohjinghua123@gmail.com>
Date:   Mon Mar 27 14:19:49 2023 +0800

    remove api free option
2023-03-27 17:32:54 +10:00
Jing Hua c06415d4fb style: message max-width 2023-03-27 00:33:16 +08:00
Jing Hua 0302c5301d hide sidemenu for mobile 2023-03-26 17:21:23 +08:00
Jing Hua d4e72532a8 style: padding 2023-03-26 17:13:21 +08:00
Jing Hua d654e143e5 fix: style group 2023-03-26 17:06:40 +08:00
Jing Hua b813df5343 feat: collapsible side menu
issue #110
2023-03-26 16:56:38 +08:00
Jing Hua 470aa40a84 fix: new chat 2023-03-26 14:01:16 +08:00
Jing Hua 17b6fc91fb fix: disable new chat during generation 2023-03-26 13:46:55 +08:00
Jing Hua dcea49d6ad disable changing chat during generation
fixes #117, fixes #67
2023-03-26 10:40:50 +08:00
Jing Hua 7a35e20fbb feat: add price of tokens 2023-03-26 10:23:09 +08:00
Jing Hua 2d42616070 feat: download indicidual chat
import chats appends instead of replace existing chats
2023-03-26 10:08:28 +08:00
flycran a5c1db6fcf
Fold menu options (#82)
* 增加折叠MenuOptions功能

* 增加折叠MenuOptions功能

* 改用tailwindcss编写样式

* 解构useState并显式标注类型

* 修改折叠图标的hover样式

* 为折叠状态添加持久化

* fix: bug

* rename foldMenuOptions to hideMenuOptions

* change file location

* transition + styling

* reordering

* update link

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-03-26 02:35:17 +08:00
Jing Hua 8ff5079266 remove download pdf
temporary fix for vite-plugin-top-level-await
2023-03-25 22:51:32 +08:00
Jing Hua 9cff66f783 change tokeniser to tiktoken 2023-03-25 22:51:32 +08:00
Jing Hua 15f21b23fb feat: display total number of tokens in conversation
fixes #126
2023-03-25 14:50:26 +08:00
Jing Hua 2d1139e3d2 feat: message copy button
fixes #94, fixes #20
2023-03-25 14:17:39 +08:00
Jing Hua b7848e8b8b fix: refresh during generation
fixes #116
2023-03-25 13:58:17 +08:00
Jing Hua b04dbfa76b change freechatgpt to betterchatgpt 2023-03-25 13:40:42 +08:00
Ayaka Mikazuki 370e03fafa Rename Free ChatGPT to Better ChatGPT 2023-03-25 15:05:26 +09:30
Jing Hua aefca02620 api popup 2023-03-25 13:04:06 +08:00
Jing Hua 1b2f80c85b fix: ShareGPT bug 2023-03-23 01:25:32 +08:00
Jing Hua f797f6984c feat: ShareGPT
Fixes #1
2023-03-23 00:58:26 +08:00
Jing Hua b0bfe56fd3 feat: customise default model parameters and system message
Fixes #97, Fixes #89, Fixes #35
2023-03-20 16:06:46 +08:00
Jing Hua e287e443c9 update api menu 2023-03-19 13:23:17 +08:00
Jing Hua bdc95cb305 feat: model max_tokens customisation
Fixes #92
2023-03-19 12:46:31 +08:00
Jing Hua 84ae0ae8df feat: gpt-4 support
fixes #80
2023-03-17 14:23:36 +08:00
Jing Hua 209173ef5c style: chat config title
Fixes #63
2023-03-15 22:09:44 +08:00
Jing Hua 2f11c9d254 remove sanitize
Fixes #76
2023-03-15 22:05:26 +08:00
Jing Hua 94e7da2260 style: prompt library textarea 2023-03-14 02:35:08 +08:00
Jing Hua ca98ebb4a6 update default prompts 2023-03-13 22:28:14 +08:00
Jing Hua b9657c6325 feat: prompt library 2023-03-13 21:54:05 +08:00
Ayaka 291ee71617
Rename ChatGPTFreeApp to Free ChatGPT (#66) 2023-03-13 14:39:07 +08:00
Jing Hua 4313446dd3 feat: auto generate title setting 2023-03-13 13:22:48 +08:00
akira0245 4c80898078
feat: more request parameters (#62)
* feat: more request parameters

added top_p and frequency_penalty

* fix: value range of top_p

valid top_p range should be 0-1

* migration + change chats validation

* style chat title

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-03-13 13:01:24 +08:00
Jing Hua 9f1529d07a update api menu and readme 2023-03-12 19:05:26 +08:00
Ayaka 78800937b9
Update articles (#60)
* Update articles

* Fix bug

* Fix typo
2023-03-12 02:44:57 +08:00
Jing Hua 7b1dae90ad remove loading screen 2023-03-12 02:40:13 +08:00
Ayaka b04e95b1b8
Update About & Sponsor (#59) 2023-03-12 02:34:10 +08:00
Jing Hua 2bf7f2d710 feat: i18n language support, settings menu, loading screen
Fixes #7
2023-03-12 01:40:26 +08:00
Jing Hua 693ac35b03 change link 2023-03-11 21:34:26 +08:00
姚妫颍 b2ee67a2a5
fix: resolve Ko-fi button 403 error (#54)
* Add files via upload

* 本域内鏡像靜態資源以修復圖標跨域請求被拒問題

直接調用 https://ko-fi.com/img/githubbutton_sm.svg 會導致 403 錯誤

* Update and rename githubbutton_sm.svg to kofi.svg

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-03-11 21:29:11 +08:00
Jing Hua d00984ba81 hide download chat button during chat generation
Fixes #57
2023-03-11 19:28:07 +08:00
Jing Hua 443d4d3454 chat message optimsiation, fixed copy code during generation
fixes 17, fixes 53
2023-03-11 19:18:00 +08:00
Ayaka e5c35eb1a3
Restore original free API URL (#56) 2023-03-11 17:59:36 +08:00
Ayaka fbf5660b40
Temporarily change free API endpoint (#55) 2023-03-11 16:01:46 +08:00
Jing Hua ac7ea965ec feat: download chat as pdf / image / markdown
fixes #26
2023-03-11 02:35:55 +08:00
Jing Hua df82b62e38 feat: Import and export chats
fixes #8, #26
2023-03-10 17:03:46 +08:00
Jing Hua bdc385158b feat: change tab title to current chat title 2023-03-10 15:09:23 +08:00
Jing Hua f58382137d optimise ChatHistoryList 2023-03-10 14:54:54 +08:00
Jing Hua 5e1745fe0c style: side chat title input 2023-03-10 00:15:05 +08:00
Jing Hua b080c185f4 feat: auto generate title 2023-03-09 21:00:29 +08:00
Jing Hua 68562b699f Fix: copy code triggers UI for all code blocks
Fixes #24
2023-03-09 16:14:07 +08:00
Jing Hua 0f0f860bc6 update readme and about 2023-03-09 14:24:26 +08:00
Jing Hua e48d967b4b Fix language not detected
Fixes #46
2023-03-08 22:57:02 +08:00
Jing Hua b6bf66dcc7 remove api checking 2023-03-08 01:08:39 +08:00
Jing Hua ae9499301a style: error message + move stream to try block 2023-03-07 23:57:27 +08:00
Jing Hua c7504b1038 clear error message on new generation 2023-03-07 13:38:38 +08:00
Jing Hua 8ba2e473cd feat: customise free api endpoint 2023-03-07 08:15:28 +08:00
Jing Hua 98729351e0 error message for insufficient quota 2023-03-07 07:35:10 +08:00
Jing Hua 1142e9d973 added support
Support FreeChatGPT's mission of making AI accessible to everyone,
by funding the OpenAI API endpoint.
2023-03-07 07:26:14 +08:00
Jing Hua 5372c48f53 fix migration from old to new ChatInterface 2023-03-06 22:36:36 +08:00
Jing Hua a009be9986
feat: model parameters customisation (#31)
issue #14
2023-03-06 22:22:05 +08:00
Ayaka 670c26774a
Update texts in the about menu (#30)
* Update description and texts in About menu

* Format code
2023-03-06 22:11:34 +08:00
Mark Anthony Llego 948c14a6eb
Bug Fix #21 (#22)
* bug fix #21

* changes

* update setApiFree function in useEffect
2023-03-06 22:06:48 +08:00
Jing Hua db81221e2d feat: about menu 2023-03-06 19:53:20 +08:00
Jing Hua 03972ba0a2
increase ApiMenu error message duration 2023-03-06 11:49:15 +08:00
Jing Hua 024bd71cb8
improve clarity of api menu error message 2023-03-06 11:45:11 +08:00
Jing Hua a2b3c5e884 handle edge cases 2023-03-06 00:50:18 +08:00
Jing Hua 72a89ada1f refactor api menu 2023-03-06 00:09:03 +08:00
Jing Hua 6222bb58f3 improve caching 2023-03-05 23:56:26 +08:00
Jing Hua 16caec5076 feat: StopGeneratingButton
fixes #16
2023-03-05 23:26:52 +08:00
Jing Hua 7a7db911c5 combine save & submit and submit button
fixes #15
2023-03-05 23:08:46 +08:00
Jing Hua 4fa5c14734 feat: performance optimisation
fixes partially #9 and #16
2023-03-05 22:59:31 +08:00
Jing Hua 59466e987a feat: flavoured markdown
fixes #2 and #11
2023-03-05 20:29:51 +08:00
Jing Hua cefc874a6f feat: clear all chats
fixes #6
2023-03-05 12:26:49 +08:00
Jing Hua 3eac852d17 improve popupmodal 2023-03-05 12:26:47 +08:00
Jing Hua 990a83fea8 feat: click outside mobile sidebar to close 2023-03-05 12:05:30 +08:00
Jing Hua 72bf034bf0 feat: mobile add chat button 2023-03-05 01:41:44 +08:00
Jing Hua 5d11cfa343 style: improvements 2023-03-05 01:33:46 +08:00
Jing Hua 17e37a3d79 style: sticky input 2023-03-05 00:09:00 +08:00
Jing Hua bdcaa35b98 ui: error message 2023-03-04 23:45:45 +08:00
Jing Hua b9a8f05176 error handling 2023-03-04 23:35:38 +08:00
Jing Hua 5f673691b1 fix: update chat title 2023-03-04 21:37:11 +08:00
Jing Hua 8f7a859691 reset sticky textarea height after save/submit 2023-03-04 21:30:57 +08:00
Jing Hua e8c0ddaa96 reorder delete confirmation button 2023-03-04 20:56:59 +08:00
Jing Hua a3149dc00e feat: resubmit historical dialogues
fixes #4
2023-03-04 20:23:27 +08:00