Commit graph

24 commits

Author SHA1 Message Date
Othman El houfi 52fa56c1da
Azure OpenAI API Fix (#297)
* Azure OpenAI API Fix

* improve code

* improve code

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-05-18 00:04:06 +08:00
Jing Hua f0a0156c22
delete unused files
delete customApi.ts
2023-05-05 21:31:54 +08:00
Landry Simo 13b272bfd9
chore: remove unused file (#272)
* Delete freeApi.ts

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-05-04 23:13:19 +08:00
Jing Hua d2d14876c1 change max_tokens from null to undefined
issue #248
2023-05-03 13:53:05 +08:00
Jing Hua 3f0ada4a9d
Sync to Google Drive (#233)
* google drive api

* fix: google-api

* GoogleCloudStorage

* list files api

* Google Cloud Storage

* move button to side menu

* sync status

* rename file

* show popup for those with cloud sync

* update button style

* auto close modal after logged in

* auto popup every 59min

* set as unauthenticated if update fails

* i18n

* add spin animation

* feat: Toast

* clear toast

* electron: desktop google drive integration

This update includes integration with Google Drive for desktop access,
but requires a new URL, which may cause existing chat data to be lost.
To minimize disruption, users can export their current chat data and
import it into the newer version.

* update note

* error handling

* support multiple drive files

* feat: delete drive file

* i18n

* change style
2023-04-14 15:29:13 +08:00
Jing Hua f1580010df improve error message 2023-04-08 22:06:32 +08:00
Jing Hua 38bc63f0ac feat: Azure OpenAI endpoint support
fixes #208
2023-04-06 02:48:12 +08: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
Ayaka Mikazuki 370e03fafa Rename Free ChatGPT to Better ChatGPT 2023-03-25 15:05:26 +09:30
Jing Hua f797f6984c feat: ShareGPT
Fixes #1
2023-03-23 00:58:26 +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 1069f62fc6 added new api endpoint
Fixes #98
2023-03-19 13:00:34 +08:00
Jing Hua 84ae0ae8df feat: gpt-4 support
fixes #80
2023-03-17 14:23:36 +08:00
Jing Hua 9f1529d07a update api menu and readme 2023-03-12 19:05:26 +08:00
Jing Hua 8fcf0764e5 fix: stream lock bug
Fixes #38
2023-03-09 07:07:50 +08:00
Jing Hua b6bf66dcc7 remove api checking 2023-03-08 01:08:39 +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 a009be9986
feat: model parameters customisation (#31)
issue #14
2023-03-06 22:22:05 +08:00
Jing Hua b9a8f05176 error handling 2023-03-04 23:35:38 +08:00
Jing Hua f5c8bec819 error handling 2023-03-04 08:54:48 +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