Commit graph

210 commits

Author SHA1 Message Date
Jing Hua f797f6984c feat: ShareGPT
Fixes #1
2023-03-23 00:58:26 +08:00
MrSevyu 8787eef762
Added Spanish translation. (#114) 2023-03-23 00:05:50 +08:00
Ayaka Mikazuki 4c87b0d547 Add sv translation 2023-03-22 16:43:08 +09:30
Ayaka Mikazuki a0995c6f80 Fix nb-NO translation 2023-03-22 16:15:11 +09:30
Ayaka Mikazuki a6ebfc527f Add nb-NO translation 2023-03-22 16:02:52 +09:30
Ayaka Mikazuki 1608991ac4 add zh-TW translation 2023-03-21 14:35:19 +09:30
Ayaka Mikazuki 25accc6e77 add Danish translation 2023-03-20 19:34:22 +09:30
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 92f09c275b fix: missing bytes when using api endpoint 2023-03-19 22:22:24 +08:00
Jing Hua e69e50a9a9 fix: max tokens bug
Fixes #100
2023-03-19 18:04:47 +08:00
Jing Hua 9f92cf5c70 fix: max tokens bug 2023-03-19 15:35:23 +08:00
Jing Hua e0155e3f4f set sharegpt api endpoint as default 2023-03-19 13:33:53 +08:00
Jing Hua e287e443c9 update api menu 2023-03-19 13:23:17 +08:00
Jing Hua 1069f62fc6 added new api endpoint
Fixes #98
2023-03-19 13:00:34 +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 67e96df310
Add zh-HK (Cantonese) translation (#68) 2023-03-13 21:59:05 +09:30
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
Jing Hua 9fa830d57d update migration 2023-03-12 13:55:21 +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 a6309129d3 remove i18n debug 2023-03-12 01:44:57 +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 94d5ad3692 remove image resizing for mobile chat download 2023-03-11 19:28:39 +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
Mark Anthony Llego 32bb534c81
Add fixes for deprecation warnings (#49) 2023-03-09 07:15:03 +08:00
Jing Hua 8fcf0764e5 fix: stream lock bug
Fixes #38
2023-03-09 07:07:50 +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 9fedb3f169 release readable stream
issue #38
2023-03-07 23:04:37 +08:00
Jing Hua 21da7342eb fix: Object.hasOwn browser compatibility 2023-03-07 15:47:17 +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 c006ccd97a feat: adaptive memory
fixes 9, fixed 10
2023-03-06 22:50:03 +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
Ayaka d4d0fafcb9
Implement a rudimental version of countTokens (#28) 2023-03-06 22:08:13 +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 46642e24c2 restore old chats 2023-03-06 00:35: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
Jing Hua 0b412cf7ad feat: popup modal 2023-03-04 20:17:26 +08:00
Jing Hua 2be846f9df fix: custom api 2023-03-04 19:31:22 +08:00
Jing Hua eeccf01ec2 fix: paragraph whitespace pre-wrap
fixes #3
2023-03-04 19:30:19 +08:00
Jing Hua 143762fbee feat: ctrl/shift + enter to save and submit 2023-03-04 13:54:28 +08:00
Jing Hua fb910d0a52 improve useSubmitHook 2023-03-04 13:43:20 +08:00
Jing Hua 29f8fe75f3 fix: theme switcher 2023-03-04 12:23:16 +08:00
Jing Hua ae835c1791 improvements 2023-03-04 12:06:10 +08:00
Jing Hua 60401a491e style updates 2023-03-04 11:39:02 +08:00
Jing Hua 3abf98c89d add api message 2023-03-04 11:05:18 +08:00
Jing Hua b6656f43e7 style: textarea 2023-03-04 11:05:03 +08:00
Jing Hua 710f4c3f65 feat: regenerate response button 2023-03-04 10:46:41 +08:00
Jing Hua 7f39bbf5b0 textarea improvements 2023-03-04 10:05:15 +08:00
Jing Hua 79c7dd2603 feat: resizable textarea 2023-03-04 09:56:40 +08:00
Jing Hua fb21fb0f62 prevent submission while generating 2023-03-04 09:43:51 +08:00
Jing Hua 063316407d improve markdown parsing 2023-03-04 09:36:13 +08:00
Jing Hua ddf467c038 implement cache 2023-03-04 08:59:17 +08:00
Jing Hua f5c8bec819 error handling 2023-03-04 08:54:48 +08:00
Jing Hua 8a9dac15f7 abstract initialiseNewChat 2023-03-04 08:29:12 +08:00
Jing Hua 5572f20a6a style: hide scrollbar on mobile 2023-03-04 08:07:57 +08:00
Jing Hua 8bfe692a40 chat naming improvements 2023-03-04 08:02:49 +08:00
Jing Hua 042812239d chore: remove console.logs 2023-03-04 06:33:04 +08:00
Jing Hua 05cfd7f34f First Commit 2023-03-04 06:17:11 +08:00
Jing Hua b2ef37fb4f Initial Commit 2023-03-03 13:25:10 +08:00