Commit Graph

647 Commits

Author SHA1 Message Date
fengzai6
c197962851 fix: No history message attached when for gemini-pro-vision 2024-02-27 15:02:58 +08:00
Fred
e3b3ae97bc
chore: clear scroll info 2024-02-27 11:49:44 +08:00
Fred
410a22dc63
feat: auto detach scrolling 2024-02-27 11:43:40 +08:00
TheRam_
e2da3406d2
Add vision support (#4076) 2024-02-20 18:04:32 +08:00
H0llyW00dzZ
1d6ee64e1d
[Cherry Pick] Fix [UI/UX] [Front End] Settings Page (#4032)
* Fix [UI/UX] [Locales] Correct Spelling

- [+] fix(locales): correct spelling and improve wording in cn.ts and en.ts locale files

* Fix [UI/UX] [Front End] Settings Page

- [+] fix(settings.tsx): correct typo in ApiVerion to ApiVersion
- [+] refactor(settings.tsx): switch Azure.ApiKey to Google.ApiKey in ListItem title and subTitle

* Fix [UI/UX] [Locales] [SK] Correct Typo

- [+] fix(sk.ts): correct typo in ApiVersion key in Slovak locale file
2024-02-12 20:36:52 +08:00
fred-bf
bca74241e6
fix: fix gemini issue when using app (#4013)
* chore: update path

* fix: fix google auth logic

* fix: not using header authorization for google api

* chore: revert to allow stream
2024-02-07 13:17:11 +08:00
H0llyW00dzZ
4511aa4d21
Fix [UI/UX] [Emoji] Update CDN (#3966)
- [+] fix(emoji.tsx): update CDN url from 'cdn.jsdelivr.net' to 'fastly.jsdelivr.net'
2024-02-03 01:24:37 +08:00
Duplicate4
b25a0545f5
fix: typo (#3871)
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-02-03 01:20:10 +08:00
H0llyW00dzZ
a91ac91977
Fix [UI/UX] [Emoji] emoji URL (#3647) 2023-12-26 03:44:40 +08:00
Fred Liang
7c3dfb7bae
feat: support custom gemini pro params 2023-12-24 17:24:04 +08:00
Fred Liang
ae19a0dc5f
chroe: update model name 2023-12-24 04:22:12 +08:00
Fred Liang
20f2f61349
feat: support set api key from client side 2023-12-24 03:44:13 +08:00
Fred Liang
45798f993d
fix: fix type errors 2023-12-24 02:39:13 +08:00
Fred Liang
778e88cb56
chore: resolve conflict 2023-12-24 02:15:30 +08:00
Fred Liang
3ef0621eb0
refactor: update product name 2023-12-23 16:48:16 +08:00
DirkSchlossmacher
ba7bca93c5
Merge branch 'ChatGPTNextWeb:main' into main 2023-12-18 07:59:00 +01:00
Yifei Zhang
bcb520ed3b
Update emoji.tsx 2023-12-15 15:18:02 +08:00
Eric Huang
943a2707d2 fix(chat-item): selected chat-item showing border in other pages 2023-12-15 09:37:37 +08:00
reece00
1442337e3c The language filtering option of the mask is stored 2023-12-12 02:22:22 +08:00
frankylli
10ea9bf1e3 fix: MessageSelectorWarning 2023-11-29 16:25:15 +08:00
GH Action - Upstream Sync
76df875392 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-28 00:40:02 +00:00
Yifei Zhang
2c12be62c4
Merge pull request #3383 from H0llyW00dzZ/auth 2023-11-27 15:51:27 +08:00
H0llyW00dzZ
dda40e29f4
Fix & Refactor UI/UX Page [Settings]
- [+] fix(settings.tsx): fix conditional rendering of ListItem based on clientConfig.isApp
- [+] refactor(settings.tsx): improve readability of conditional rendering code
2023-11-27 08:07:53 +07:00
H0llyW00dzZ
7df868e22a
Revert "Fix & Refactor UI/UX Page [Auth]"
This reverts commit d76e744eab.

Reason: Move to commits bf5e7aaa48
2023-11-27 07:12:57 +07:00
H0llyW00dzZ
bf5e7aaa48
Feat UI/UX Page [Settings]
- [+] feat(settings.tsx): set useCustomConfig to true if clientConfig.isApp is truthy
2023-11-27 07:03:41 +07:00
H0llyW00dzZ
d76e744eab
Fix & Refactor UI/UX Page [Auth]
- [+] fix(auth.tsx): fix condition to set custom endpoint to true if it's app
- [+] refactor(auth.tsx): update accessStore to set useCustomConfig to true
2023-11-27 05:44:26 +07:00
durian
261a8fd83b fix(CUSTOM_MODELS):#3349 Dependency chatStore otherwise the session and view will not updated 2023-11-23 15:37:57 +08:00
GH Action - Upstream Sync
983f96d9c1 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-15 00:56:00 +00:00
DirkSchlossmacher
2c8e112c87 text export as default 2023-11-14 16:41:41 +01:00
DirkSchlossmacher
14795c50c0 sidebar 2023-11-14 11:09:48 +01:00
DirkSchlossmacher
6a6a2490ed img 2023-11-14 11:02:35 +01:00
DirkSchlossmacher
511f650696 path2 2023-11-14 10:20:49 +01:00
DirkSchlossmacher
2ba5a8c01b './utils/cloud/redisRestClient' 2023-11-14 10:12:12 +01:00
DirkSchlossmacher
e45b567d1d useState 2023-11-14 10:01:55 +01:00
DirkSchlossmacher
45cd44286d path . 2023-11-14 09:54:52 +01:00
DirkSchlossmacher
b11f2f09b7 import 2023-11-14 09:48:24 +01:00
DirkSchlossmacher
68706346b3 div 2023-11-14 09:42:26 +01:00
DirkSchlossmacher
45ec58b8ea sidebar changes 2023-11-14 09:35:40 +01:00
DirkSchlossmacher
747336be86 sidebar api link usagestats 2023-11-14 09:27:54 +01:00
DirkSchlossmacher
4bc8c73d66 div in usagestats 2023-11-14 09:22:20 +01:00
DirkSchlossmacher
595cf6bf46 usagestats v0 2023-11-14 09:11:08 +01:00
H0llyW00dzZ
f1772f4625
Fix UI/UX Page [Settings]
[+] fix(settings.tsx): fix condition to show balance query in settings component
[+] fix(settings.tsx): add condition to hide balance query for app clients
2023-11-14 15:04:57 +07:00
GH Action - Upstream Sync
0dd9a350d0 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-14 00:54:52 +00:00
Yifei Zhang
fdca9e59de
Merge pull request #3233 from nanaya-tachibana/nanaya/model-selection 2023-11-13 10:44:03 +08:00
DirkSchlossmacher
0db4105eff
Merge branch 'Yidadaa:main' into main 2023-11-12 20:37:48 +01:00
Yifei Zhang
549a2fd206
Merge pull request #3237 from Yidadaa/latex 2023-11-12 19:47:26 +08:00
Yidadaa
a0cd939bfd fix: #2841 dollar sign conflict with latex math 2023-11-12 19:45:58 +08:00
Yifei Zhang
4f52679ec6
Merge pull request #3236 from Yidadaa/latex 2023-11-12 19:35:22 +08:00
Yidadaa
b52e237044 fix: #3189 should correct math eq in exporter 2023-11-12 19:33:19 +08:00
nanaya
3a654ba199 UI (model selection): hide unavailable model options 2023-11-12 11:18:14 +08:00
GH Action - Upstream Sync
7974974fbf Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-12 00:58:29 +00:00
H0llyW00dzZ
0f6ed9c293
Feat UI/UX Page Local Language [Exporter Message]
[+] fix(exporter.tsx): update the text in the ExportMessageModal component to use the localized title from the locale file
[+] feat(cn.ts, en.ts, id.ts): add localized title for the Exporter Description in the respective locale files
2023-11-12 00:53:15 +07:00
Yidadaa
be6d45e49f feat: close #3222 share message list should start from clear context index 2023-11-12 01:21:39 +08:00
Yidadaa
a5a1f2e8ad feat: CUSTOM_MODELS support mapper 2023-11-12 00:46:21 +08:00
Yidadaa
be9774943b feat: #3224 auto switch to first avaliable model 2023-11-12 00:29:36 +08:00
DirkSchlossmacher
6e7cede1a0 Squashed commit of the following:
commit e6b72ac1ff
Author: Yifei Zhang <yidadaa@qq.com>
Date:   Fri Nov 10 02:59:47 2023 +0800

    Update README.md

commit 8032e6d68d
Author: Yifei Zhang <yidadaa@qq.com>
Date:   Fri Nov 10 02:59:30 2023 +0800

    Update README.md

commit c7e0a6f37f
Author: Yidadaa <yidadaa@qq.com>
Date:   Fri Nov 10 02:57:40 2023 +0800

    doc: update azure env vars

commit 1141cd2e6e
Merge: fd2f441 c9dd953
Author: Yifei Zhang <yidadaa@qq.com>
Date:   Fri Nov 10 02:55:12 2023 +0800

    Merge pull request #3206 from Yidadaa/azure

commit c9dd953817
Author: Yidadaa <yidadaa@qq.com>
Date:   Fri Nov 10 02:50:50 2023 +0800

    fixup

commit b7ffca031e
Author: Yidadaa <yidadaa@qq.com>
Date:   Fri Nov 10 02:43:30 2023 +0800

    feat: close #935 add azure support

commit fd2f441e02
Author: Yifei Zhang <yidadaa@qq.com>
Date:   Thu Nov 9 20:45:25 2023 +0800

    feat: wont send max_tokens
2023-11-10 03:06:59 +01:00
Yidadaa
c9dd953817 fixup 2023-11-10 02:50:50 +08:00
Yidadaa
b7ffca031e feat: close #935 add azure support 2023-11-10 02:43:37 +08:00
DirkSchlossmacher
7038247e13 CloseIcon 2023-11-09 10:49:58 +01:00
DirkSchlossmacher
0656211cf4 from "react"; 2023-11-09 10:27:53 +01:00
DirkSchlossmacher
70c72e1def Merge remote-tracking branch 'upstream/HEAD' 2023-11-09 07:35:07 +01:00
Yidadaa
d0a1d910d4 fix: #3186 enable max_tokens in chat payload 2023-11-09 03:19:13 +08:00
Yidadaa
d93f05f511 feat: close #3187 use CUSTOM_MODELS to control model list 2023-11-09 03:01:29 +08:00
DirkSchlossmacher
50e0f668fd
Merge branch 'Yidadaa:main' into main 2023-11-08 19:06:00 +01:00
Yidadaa
fbc0236748 fix: #3174 should prompt to confirm to delete chat 2023-11-09 02:03:05 +08:00
Yidadaa
8c0ba1aee2 feat: close #2954 chat summary should be copyable 2023-11-09 01:51:33 +08:00
JuliusMoehring
4628980974 Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-Next-Web-AdEx into feature/SSO 2023-11-07 19:05:53 +01:00
JuliusMoehring
c77bedf432 Add auto login 2023-11-07 18:44:30 +01:00
JuliusMoehring
3545740108 Add basic login screen | add logout button 2023-11-07 18:32:31 +01:00
DirkSchlossmacher
22e583d7ec Merge https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-07 18:04:52 +01:00
Yidadaa
c7321fddfb fixup 2023-11-08 00:34:31 +08:00
Yidadaa
c5ca278253 feat: close #2908 allow to disable parse settings from link 2023-11-08 00:30:02 +08:00
JuliusMoehring
3942f511cf Add authentication 2023-11-07 17:25:40 +01:00
Yidadaa
638fdd8c3e feat: default disable balance query 2023-11-08 00:20:34 +08:00
Yidadaa
6e52d14180 fix: #3016 disable sidebar transition on ios 2023-11-07 23:30:09 +08:00
Yidadaa
cdf0311d27 feat: add claude and bard 2023-11-07 23:22:11 +08:00
Yidadaa
5610f423d0 feat: add multi-model support 2023-10-30 02:07:11 +08:00
DirkSchlossmacher
4063370da7 Merge remote-tracking branch 'upstream/main' 2023-10-16 18:09:04 +02:00
Yifei Zhang
65c4a0c319
feat: close #3031 user can set larger font size 2023-10-16 11:52:45 +08:00
GH Action - Upstream Sync
bdcf93a98c Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-10-12 00:55:05 +00:00
GH Action - Upstream Sync
678f7ef678 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-10-11 00:56:43 +00:00
H0llyW00dzZ
74fcaab5e9
Refactor Mask UI Page [Masks]
[+] refactor(mask.tsx): refactor simple search to be case-insensitive
2023-10-11 04:36:04 +07:00
Yifei Zhang
f54db695af
fix: #2981 full screen button not works 2023-10-10 11:54:25 +08:00
GH Action - Upstream Sync
b41a4ec2a4 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-10-10 00:56:44 +00:00
Kong Gaowen
bdb49b1171
修改界面
似乎这里引入了一个逻辑判断错误,会导致打包之后的界面变宽变高。
2023-10-09 18:50:10 +08:00
GH Action - Upstream Sync
25debac493 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-10-08 01:00:57 +00:00
Yifei Zhang
13c1d2fd2b
Merge pull request #2946 from H0llyW00dzZ/ClientApp 2023-10-07 23:50:49 +08:00
H0llyW00dzZ
d2ad01a9ff
Client App Fix Issue [Bug] 'export' button does not work #2884
[+] fix(exporter.tsx): add async keyword to download function
[+] feat(exporter.tsx): add support for saving image file using window.__TAURI__ API
[+] feat(global.d.ts): add types for window.__TAURI__ API methods
[+] feat(locales): add translations for download success and failure messages
[+] feat(sync.ts): add support for generating backup file name with date and time
[+] fix(utils.ts): add async keyword to downloadAs function and add support for saving file using window.__TAURI__ API
2023-10-03 08:49:03 +07:00
H0llyW00dzZ
04b638aa06
Fix & Refactor UI Page [Auth Page]
[+] fix(auth.tsx): fix conditional rendering of token input field
[+] refactor(auth.tsx): improve code readability by using conditional rendering for token input field
2023-10-01 00:23:19 +07:00
H0llyW00dzZ
bc00be9065
Feat & Fix UI Page [Auth Page]
[+] feat(auth.tsx): add goChat function to navigate to chat page
[+] fix(auth.tsx): change onClick event from goHome to goChat
2023-09-30 22:33:18 +07:00
H0llyW00dzZ
4a599e986f
UI Page [Auth Page]
[+] feat(auth.tsx): add support for resetting access token in resetAccessCode function
[+] fix(auth.tsx): fix formatting issue in resetAccessCode function
[+] feat(locales): add support for sub tips in Auth component for multiple languages :
  - Add sub tips in Arabic locale (ar.ts)
  - Add sub tips in Bengali locale (bn.ts)
  - Add sub tips in Chinese locale (cn.ts)
  - Add sub tips in English locale (en.ts)
  - Add sub tips in Indonesian locale (id.ts)
2023-09-30 22:16:34 +07:00
GH Action - Upstream Sync
1ed38ebcbd Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-09-28 00:56:40 +00:00
Algorithm5838
398e229c77
Update chat.tsx 2023-09-26 21:49:17 +03:00
Algorithm5838
6a61fe5776
Update chat.tsx 2023-09-26 20:45:09 +03:00
GH Action - Upstream Sync
db40834b4a Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-09-26 11:39:04 +00:00
H0llyW00dzZ
70b0580fb7
UI Page [sidebar]
[+] fix(sidebar.tsx): update onClick function to conditionally navigate to different paths based on config.dontShowMaskSplashScreen value

Ref : [Feature] Make the mask selection more streamlined Yidadaa#2895
2023-09-26 04:59:19 +07:00
GH Action - Upstream Sync
855f9f3e2a Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-09-20 00:56:30 +00:00
Yifei Zhang
26e50cefea
Update chat.tsx 2023-09-20 02:09:14 +08:00
Yidadaa
eae7d6260f fix: should not tight border in desktop app 2023-09-19 23:26:52 +08:00
GH Action - Upstream Sync
cc8e879314 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-09-19 00:57:00 +00:00