Commit Graph

1322 Commits

Author SHA1 Message Date
DirkSchlossmacher
b0b5e5e9f2 gpt-4-turbo-preview 2024-01-29 11:51:19 +01:00
Jerry Zhou
e1b065c74a
[ImgBot] Optimize images (#3941)
*Total -- 2,603.15kb -> 2,299.83kb (11.65%)

/docs/images/upstash-7.png -- 83.76kb -> 56.04kb (33.1%)
/public/android-chrome-512x512.png -- 95.26kb -> 65.26kb (31.49%)
/docs/images/upstash-1.png -- 23.29kb -> 15.98kb (31.4%)
/docs/images/upstash-6.png -- 66.20kb -> 46.73kb (29.42%)
/docs/images/upstash-5.png -- 66.88kb -> 47.31kb (29.26%)
/docs/images/upstash-4.png -- 37.04kb -> 26.39kb (28.75%)
/docs/images/upstash-3.png -- 49.25kb -> 35.67kb (27.57%)
/public/apple-touch-icon.png -- 18.71kb -> 14.60kb (21.97%)
/public/android-chrome-192x192.png -- 20.52kb -> 16.06kb (21.74%)
/public/macos.png -- 73.77kb -> 57.84kb (21.59%)
/src-tauri/icons/icon.png -- 82.18kb -> 65.26kb (20.58%)
/docs/images/upstash-2.png -- 64.79kb -> 51.85kb (19.97%)
/app/icons/send-white.svg -- 0.95kb -> 0.82kb (13.83%)
/app/icons/close.svg -- 0.96kb -> 0.83kb (13.76%)
/app/icons/reload.svg -- 1.22kb -> 1.06kb (13.36%)
/app/icons/return.svg -- 0.99kb -> 0.86kb (13.33%)
/app/icons/chat.svg -- 1.50kb -> 1.31kb (12.28%)
/app/icons/settings.svg -- 1.10kb -> 0.96kb (12.02%)
/app/icons/eye.svg -- 1.30kb -> 1.17kb (9.92%)
/public/favicon-32x32.png -- 1.70kb -> 1.56kb (8.12%)
/app/icons/eye-off.svg -- 1.84kb -> 1.71kb (6.99%)
/docs/images/head-cover.png -- 1,724.78kb -> 1,608.59kb (6.74%)
/app/icons/bot.svg -- 4.17kb -> 3.89kb (6.57%)
/src-tauri/icons/Square71x71Logo.png -- 6.38kb -> 6.03kb (5.47%)
/src-tauri/icons/Square89x89Logo.png -- 8.61kb -> 8.16kb (5.25%)
/src-tauri/icons/Square44x44Logo.png -- 3.44kb -> 3.30kb (4.09%)
/app/icons/clear.svg -- 1.24kb -> 1.19kb (3.87%)
/app/icons/edit.svg -- 1.61kb -> 1.55kb (3.58%)
/app/icons/pause.svg -- 1.09kb -> 1.05kb (3.58%)
/src-tauri/icons/Square107x107Logo.png -- 11.03kb -> 10.64kb (3.57%)
/app/icons/rename.svg -- 0.89kb -> 0.86kb (3.29%)
/src-tauri/icons/StoreLogo.png -- 4.03kb -> 3.90kb (3.2%)
/app/icons/auto.svg -- 1.30kb -> 1.26kb (3.01%)
/app/icons/chatgpt.svg -- 3.51kb -> 3.42kb (2.64%)
/app/icons/dark.svg -- 0.83kb -> 0.81kb (2.35%)
/app/icons/light.svg -- 2.98kb -> 2.91kb (2.23%)
/app/icons/drag.svg -- 1.36kb -> 1.33kb (2.16%)
/src-tauri/icons/128x128.png -- 13.99kb -> 13.73kb (1.82%)
/app/icons/pin.svg -- 5.83kb -> 5.75kb (1.39%)
/app/icons/break.svg -- 4.53kb -> 4.47kb (1.21%)
/app/icons/connection.svg -- 8.14kb -> 8.05kb (1.01%)
/app/icons/confirm.svg -- 2.24kb -> 2.22kb (1%)
/app/icons/cancel.svg -- 3.54kb -> 3.50kb (0.97%)
/app/icons/robot.svg -- 11.72kb -> 11.62kb (0.89%)
/app/icons/config.svg -- 14.93kb -> 14.81kb (0.78%)
/app/icons/cloud-fail.svg -- 6.25kb -> 6.20kb (0.75%)
/app/icons/cloud-success.svg -- 4.69kb -> 4.66kb (0.75%)
/app/icons/upload.svg -- 10.70kb -> 10.62kb (0.75%)
/app/icons/lightning.svg -- 3.49kb -> 3.47kb (0.62%)
/app/icons/chat-settings.svg -- 8.99kb -> 8.96kb (0.38%)
/src-tauri/icons/Square142x142Logo.png -- 16.15kb -> 16.09kb (0.34%)
/src-tauri/icons/Square150x150Logo.png -- 17.53kb -> 17.51kb (0.07%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-01-29 14:10:07 +08:00
Takanezawa, Kosuke
eacc911cdc
Add Japanese translations for ChatGPT messages (#3936) 2024-01-29 10:38:25 +08:00
H0llyW00dzZ
91a5f4af9a
Feat Models [GPT-4-turbo] (#3932)
[+] feat(constant.ts): add new models to DEFAULT_MODELS array
2024-01-27 15:58:35 +08:00
NieXi
f6cdda9029
update google api region (#3934)
Co-authored-by: GH Action - Upstream Sync <action@github.com>
2024-01-27 15:55:44 +08:00
Leo Li
981a3629b6
Add gpt-4-0125-preview (#3924) 2024-01-26 15:00:02 +08:00
fred-bf
f619e9df24 chore: change default submit key 2024-01-25 15:22:45 +08:00
fred-bf
04855de495
Merge pull request #3789 from wyxogo/upstream
Fix: Routes `/api/cors/[...path]` was not configured to run with the …
2024-01-25 15:07:40 +08:00
DirkSchlossmacher
bcd01b773b https://t.ly/09Ato 2024-01-23 18:26:01 +01:00
DirkSchlossmacher
9d765fb5c1 instructs 2024-01-23 18:10:17 +01:00
DirkSchlossmacher
e4fbf1b106 gpt-4-1106-preview 2024-01-23 17:42:54 +01:00
DirkSchlossmacher
14f1b3af23 AdEx_CV_SkillExtraction_V0.91 2024-01-23 17:39:34 +01:00
Fred Liang
31d9d2efcd feat: support setting up GTM 2024-01-22 15:12:21 +08:00
Dup4
86f42d56f2
fix: webdav check httpcode list
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-01-18 09:11:13 +08:00
Yasin
5a7b9abe33
Fix: Routes /api/cors/[...path] was not configured to run with the Edge Runtime 2024-01-08 18:43:31 +08:00
Fred Liang
cc86923fd5 fix: import typing error 2024-01-05 21:19:51 +08:00
Fred Liang
916d764477 fix: import language issue 2024-01-05 21:17:26 +08:00
levidius
4a21a8fdae Added Slovak language support
Slovak language was added app/locales/sk.ts and also the language was added to app/locales/index.ts
2024-01-05 21:05:17 +08:00
Fred Liang
9eaf492d5b chore: low the google safety setting to avoid unexpected blocking 2023-12-31 19:49:22 +08:00
Fred Liang
a80502f7db
fix: fix gemini pro streaming api duplicated issue (#3721)
* fix: streaming duplicated issue

* chore: remove debug logs

* chore: add types defination
2023-12-31 19:08:16 +08:00
Fred Liang
eade013138
fix: update google url description (#3719)
* feat: update new logo & cover image

* fix: update google url description
2023-12-31 18:02:04 +08:00
Fred Liang
5cf58d9446
feat: support streaming for Gemini Pro (#3688)
* feat: support streaming for Gemini Pro

* feat: display texts smoothly

* chore: remove comments
2023-12-29 03:42:45 +08:00
reece00
3ba598633c
Non -GPT model disable system prompt (#3684) 2023-12-28 23:52:45 +08:00
Fred Liang
406530ca69
feat: support vercel speed insight (#3686) 2023-12-28 23:10:19 +08:00
Yifei Zhang
350ddd2af1
Merge pull request #3215 from akira-cn/main
fix: remove the content-encoding header
2023-12-27 01:26:48 +08:00
Yifei Zhang
c03abdac42
Merge pull request #3570 from Rocky0102/main 2023-12-27 01:24:44 +08:00
H0llyW00dzZ
a91ac91977
Fix [UI/UX] [Emoji] emoji URL (#3647) 2023-12-26 03:44:40 +08:00
Fred Liang
422d70d928
chore: update auth value logic (#3630) 2023-12-25 10:25:43 +08:00
Fred Liang
19137b79bc
fix: return bearer header when using openai 2023-12-25 09:57:40 +08:00
Fred Liang
f5ed1604aa
fix: fix removing bearer header 2023-12-25 05:24:20 +08:00
Fred Liang
5c638251f8
fix: fix using different model 2023-12-25 05:12:21 +08:00
Fred Liang
199f29e63c
chore: auto concat messages 2023-12-25 04:33:47 +08:00
Fred Liang
cad461b121
chore: remove console log 2023-12-25 04:09:38 +08:00
Fred Liang
5af68ac545
fix: fix issue https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/3616 2023-12-25 04:07:35 +08:00
Fred Liang
c0ce70ccc7
Merge pull request #3617 from H0llyW00dzZ/fixfixbug
Fix [Bug] Issue ChatGPTNextWeb#3615
2023-12-25 03:47:16 +08:00
Fred Liang
753c518d33
chore: update how to identify google model 2023-12-25 03:46:35 +08:00
H0llyW00dzZ
0c116251b1
Revert "Fix [TypesScript] [LLM Api] Chaining Model"
This reverts commit 8ca525dc7a.

Reason: It's suddenly stopped lmao
2023-12-25 01:45:24 +07:00
H0llyW00dzZ
e9def2cdc5
Refactor [Model] [LLM Api] Chaining Model
- [+] refactor(model.ts): change forEach loop to arrow function for readability and consistency
- [+] fix(model.ts): mark 'provider' property as optional in modelTable type
- [+] fix(model.ts): use optional chaining when assigning provider property in modelTable
2023-12-25 01:12:44 +07:00
H0llyW00dzZ
8ca525dc7a
Fix [TypesScript] [LLM Api] Chaining Model
- [+] fix(api.ts): make provider property optional in LLMModel interface
2023-12-25 01:12:44 +07:00
H0llyW00dzZ
281fe6927a
Feat [Server Side] Google Api Configuration
- [+] feat(server.ts): add support for Google API configuration variables
2023-12-25 00:37:49 +07:00
H0llyW00dzZ
35471a41c8
Fix & Feat [Auth] Api Key Variable
- [+] fix(auth.ts): fix variable name from serverApiKey to systemApiKey
- [+] feat(auth.ts): add support for Google API key in addition to Azure API key
2023-12-25 00:37:48 +07:00
Fred Liang
1e05eb1d60
chore: update docs for gemini pro 2023-12-24 17:54:33 +08:00
Fred Liang
aea794e522
chore: remove openai log from google api handler 2023-12-24 17:37:07 +08:00
Fred Liang
7c3dfb7bae
feat: support custom gemini pro params 2023-12-24 17:24:04 +08:00
Fred Liang
75057f9a91
chroe: support error reason for gemini pro 2023-12-24 04:32:25 +08:00
Fred Liang
7026bd926a
chroe: update prompts 2023-12-24 04:24:38 +08:00
Fred Liang
ae19a0dc5f
chroe: update model name 2023-12-24 04:22:12 +08:00
Fred Liang
7d9a2132cb
fix: fix server token fetch policy 2023-12-24 03:57:30 +08:00
Fred Liang
20f2f61349
feat: support set api key from client side 2023-12-24 03:44:13 +08:00
Fred Liang
4169431f2c
fix: fix add api auth 2023-12-24 03:05:23 +08:00
Fred Liang
45798f993d
fix: fix type errors 2023-12-24 02:39:13 +08:00
Fred Liang
ae0d68c27e
fix: fix llm models field 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
20211b28b4 ChatGPT-Next-Web-AdEx iOS 2023-12-21 11:44:08 +01:00
DirkSchlossmacher
11c1bb4d1c Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-Next-Web-AdEx 2023-12-21 11:41:01 +01:00
DirkSchlossmacher
7cfa8d8183 iOS 2023-12-21 11:40:57 +01:00
Rocky
24d7dc9bf9
Update api.ts to set proper header "Accept"
So it can work fine for some GPT forward service.
2023-12-18 20:34:37 +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
GH Action - Upstream Sync
4e18035276 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-12-07 00:39:42 +00:00
DirkSchlossmacher
d142eaaef7 { last_sessionInc: timeValue } 2023-12-05 14:31:28 +01:00
DirkSchlossmacher
d8d4253c06 last_sessionInc 2023-12-05 14:26:33 +01:00
H0llyW00dzZ
54df355014
Fix Trim Topic in Indonesia Language
- [+] fix(utils.ts): fix trimTopic function to remove double quotes from the start and end of the string, and remove specified punctuation from the end of the string
2023-12-05 07:26:11 +07:00
H0llyW00dzZ
8dc8682078
Fix Api Common [Server Side]
- [+] fix(common.ts): improve handling of OpenAI-Organization header
 - Check if serverConfig.openaiOrgId is defined and not an empty string
 - Log the value of openaiOrganizationHeader if present, otherwise log that the header is not present
 - Conditionally delete the OpenAI-Organization header from the response if [Org ID] is undefined or empty (not setup in ENV)
2023-12-04 13:33:23 +07:00
H0llyW00dzZ
36e9c6ac4d
Refactor Api Common [Server Side] [Console Log]
- [+] refactor(common.ts): remove unnecessary console.log for [Org ID] in requestOpenai function
- [+] refactor(common.ts): conditionally delete OpenAI-Organization header from response if [Org ID] is not set up in ENV
2023-12-01 19:49:12 +07: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
Yifei Zhang
03756e364a
Merge pull request #3372 from H0llyW00dzZ/fixserverside 2023-11-27 15:47:24 +08:00
Yifei Zhang
ce1715c79e
Merge pull request #3369 from H0llyW00dzZ/chatz 2023-11-27 15:47:01 +08:00
Yifei Zhang
a62ab3c649
Merge pull request #3354 from AnYiEE/fix-type 2023-11-27 15:45:42 +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
H0llyW00dzZ
f9d916925e
Fixup Api Common [Server Side] [Console Log]
- [+] fix(common.ts): fix condition to check if serverConfig.openaiOrgId is not undefined
2023-11-25 10:23:16 +07:00
H0llyW00dzZ
f9258878db
Fix Api Common [Server Side] [Console Log]
- [+] fix(common.ts): fix console.log statement for [Org ID] to handle undefined value
2023-11-25 10:10:06 +07:00
H0llyW00dzZ
ef9e86b50d
Fix UI/UX Page Chats [Memory Prompt] [Stored Local Storage]
- [+] fix(chat.ts): update the memory prompt in onFinish callback
- [+] feat(chat.ts): update the current session with lastSummarizeIndex and memoryPrompt
2023-11-25 05:03:34 +07:00
DirkSchlossmacher
2d4544ec4b modelsToReplace 2023-11-24 16:20:18 +01:00
DirkSchlossmacher
bf334d93fe no model tracking in redis 2023-11-23 15:19:55 +01:00
DirkSchlossmacher
d0a8be1f26 rollback 2023-11-23 14:54:45 +01:00
DirkSchlossmacher
9f68da3afc getMyServerSession 2023-11-23 14:37:56 +01:00
DirkSchlossmacher
ee042d9dbe no req 2023-11-23 14:37:21 +01:00
DirkSchlossmacher
d86b7ddd50 getServerAuthSession 2023-11-23 14:22:51 +01:00
DirkSchlossmacher
edaa25d1d5 const modelIdentifier = modelConfig.model; 2023-11-23 13:56:19 +01:00
DirkSchlossmacher
04ed030276 session or email is not available 2023-11-23 13:51:49 +01:00
DirkSchlossmacher
4b66ba8821 userEmail 2023-11-23 13:45:12 +01:00
DirkSchlossmacher
fda1afdebd modelConfig.model 2023-11-23 13:32:16 +01:00
DirkSchlossmacher
ea0e0f8cec getServerSession 2023-11-23 13:25:57 +01:00
DirkSchlossmacher
51e5785ce4 const session = await getServerSession(); 2023-11-23 13:22:37 +01:00
DirkSchlossmacher
62955f1347 incrementAPICallCount 2023-11-23 12:58:39 +01: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
安忆
6527074cde
fix(locales): type error in pt.ts 2023-11-23 11:02:20 +08:00
DirkSchlossmacher
32e4ab7241 "historyMessageCount":20, 2023-11-21 17:39:20 +01:00
DirkSchlossmacher
4e124efdd7 AdEx Circumvent Limit of 4k Output-Tokens 2023-11-21 08:40:30 +01:00
GH Action - Upstream Sync
accfe4cdc8 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-20 00:40:11 +00:00
H0llyW00dzZ
fe0f078353
Feat ChatGPT LLM Api [Console Log] [Text Moderation] [Azure]
[+] fix(openai.ts): fix parsing error in ChatGPTApi's message handler
[+] feat(openai.ts): add logging for flagged categories in text moderation
2023-11-19 19:49:52 +07:00
Yidadaa
f2485931d9 feat: better animation speed 2023-11-19 19:15:11 +08:00
Yifei Zhang
4f8a0b7711
Merge pull request #3308 from yuri-filipe/main 2023-11-19 18:45:31 +08:00
Yifei Zhang
2dde55050e
Merge pull request #3311 from Yidadaa/bugfix-1119 2023-11-19 18:44:14 +08:00
Yidadaa
6aade62ce2 feat: close #3300 support multiple api keys 2023-11-19 18:42:30 +08:00
Yidadaa
45b88ebb2a feat: close #3304 use = instead of : to map model name in CUSTOM_MODELS 2023-11-19 18:34:39 +08:00
Yidadaa
dc7159a450 feat: close #3301 enable or diable default models with -all / +all 2023-11-19 18:32:54 +08:00
Yidadaa
536ace8e10 feat: animate streaming response to make more smooth 2023-11-19 18:24:51 +08:00
Yuri Filipe
6f135a0cce Translation of the application into Brazilian Portuguese 2023-11-18 15:12:15 -03:00
DirkSchlossmacher
948f11b112 Merge https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-17 14:38:36 +01:00
DirkSchlossmacher
d9ac215ddc gpt-3.5-turbo-1106 2023-11-17 12:37:36 +01:00
DirkSchlossmacher
855cc6879d (!apiKey || !!serverConfig.hideUserApiKey) { 2023-11-17 11:44:28 +01:00
DirkSchlossmacher
d94205e967 api key 2023-11-16 11:11:53 +01:00
Eric-2369
74eb42c111
config: exclude hkg1 from the deployment regions of the edge function 2023-11-16 11:33:10 +08:00
GH Action - Upstream Sync
539d5368bc Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-11-16 00:56:56 +00:00
Yidadaa
9876a1aeca fix: #3275 refuse on server side if hide user api key 2023-11-16 00:53:11 +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
741f727628 return 0 2023-11-14 13:12:24 +01:00
DirkSchlossmacher
4cb13df34f redisRestClient rework 2023-11-14 13:03:33 +01:00
DirkSchlossmacher
c93d001be5 redis null 2023-11-14 12:29:22 +01:00
DirkSchlossmacher
cc8b1e35c6 getRedisClient 2023-11-14 11:46:32 +01:00
DirkSchlossmacher
993c7be12d redis no error 2023-11-14 11:36:02 +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
0f57257921 type changes 2023-11-14 10:55:57 +01:00
DirkSchlossmacher
e3a6787f06 type changes 2023-11-14 10:52:02 +01:00
DirkSchlossmacher
35c6263560 redisRestClient refactor 2023-11-14 10:40:01 +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
DirkSchlossmacher
f871e2b8bb SessionRefresh log 2023-11-14 08:17:49 +01:00
DirkSchlossmacher
b5e01e1fd9 access 2023-11-14 08:02:31 +01:00
DirkSchlossmacher
f9b1dc9c05 no usage 2023-11-14 07:06:03 +01: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
DirkSchlossmacher
0dfabd60cc usageTokens 2023-11-13 18:33:49 +01:00
DirkSchlossmacher
83ed6bfc0b redis env 2 2023-11-13 15:18:57 +01:00
DirkSchlossmacher
9496f6bb4d redis env vars 2023-11-13 15:12:54 +01:00
DirkSchlossmacher
34c0d0eaa1 redis refactor 2023-11-13 14:54:16 +01:00
DirkSchlossmacher
b956656ed9 ath fixes 2023-11-13 13:16:15 +01:00
DirkSchlossmacher
44a9b01a5e auth path 2023-11-13 13:08:54 +01:00
DirkSchlossmacher
76046cb243 path changes 2023-11-13 13:02:34 +01:00
DirkSchlossmacher
1ad18ca1c8 auth change to log on redisRestClient 2023-11-13 12:57:09 +01:00
DirkSchlossmacher
145701dc3e redis for logging 2023-11-13 10:41:49 +01:00
DirkSchlossmacher
038c57ff0f ioredis and redisClient 2023-11-13 10:00:05 +01:00
DirkSchlossmacher
f1bb136486 auth new 2023-11-13 09:49:41 +01:00
DirkSchlossmacher
2374c09915 auth log3 2023-11-13 09:32:52 +01:00
DirkSchlossmacher
84950c7413 auth log3 2023-11-13 09:23:48 +01:00
DirkSchlossmacher
c62d317504 auth log2 2023-11-13 09:12:43 +01:00
DirkSchlossmacher
82ed253111 add auth log 2023-11-13 09:06:47 +01:00
Yifei Zhang
d033168d80
fix: #3241 should not ensure openai url non-empty 2023-11-13 10:53:30 +08: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
5ba3fc9321
Revert "Fix UI/UX Page Local Language [Exporter Message]"
This reverts commit a46f08154e.
Reason : better after instead of before
2023-11-12 01:56:31 +07:00
H0llyW00dzZ
a46f08154e
Fix UI/UX Page Local Language [Exporter Message]
fix(locales): fix incorrect description title in en.ts and id.ts
 - Change "Only messages after clearing the context will be displayed" to "Only messages before clearing the context will be displayed" in en.ts
 - Change "Hanya pesan setelah menghapus konteks yang akan ditampilkan" to "Hanya pesan sebelum menghapus konteks yang akan ditampilkan" in id.ts
2023-11-12 01:50:35 +07: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
945160a66f Merge remote-tracking branch 'upstream/main' 2023-11-10 15:29:44 +01:00
DirkSchlossmacher
7a7d82a8a6 clone.ts 2023-11-10 15:16:45 +01:00
DirkSchlossmacher
f26f5e5bb4 gpt-4-1106-preview 2023-11-10 14:13:04 +01:00
DirkSchlossmacher
dc0f4a6327 model clean-up 2023-11-10 14:04:12 +01:00
akira-cn
dd6e79922a fix: remove the content-encoding header 2023-11-10 20:42:12 +08:00
akira-cn
bf84269520 fix: remove the content-encoding header 2023-11-10 20:38:53 +08:00
Yifei Zhang
ca792669fc
Update constant.ts 2023-11-10 18:20:51 +08:00
Ensteinjun
6b2db97347 fixbug 2023-11-10 15:44:07 +08:00
Yidadaa
cb140e482f fix: #3207 ensure corner case 2023-11-10 15:15:43 +08:00
DirkSchlossmacher
04e29036e3 full Adx mask 2023-11-10 03:36:52 +01:00
DirkSchlossmacher
aba11530ef duplicates 2023-11-10 03:31:57 +01:00
DirkSchlossmacher
e190621a4e VERCEL?: "1" | undefined; 2023-11-10 03:29:25 +01:00
DirkSchlossmacher
f418ac7d51 PROXY_URL duplicate 2023-11-10 03:12:10 +01: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
459d86b90b AdEx long mask 2023-11-09 18:24:25 +01:00
DirkSchlossmacher
5c35980d9a max token locales 2023-11-09 16:36:01 +01:00
DirkSchlossmacher
a953fab34b GPT-4-1106-preview + 4000 Max Tokens 2023-11-09 16:00:01 +01:00
H0llyW00dzZ
544bab0fe2
Refactor Summarize Logic
[+] chore(chat.ts): remove unnecessary comment and refactor variable name
[+] feat(chat.ts): add stream: false to config object
2023-11-09 20:56:45 +07:00
DirkSchlossmacher
4373e3ed8d max_tokens: 4000, 2023-11-09 14:23:32 +01:00
Yifei Zhang
fd2f441e02
feat: wont send max_tokens 2023-11-09 20:45:25 +08:00
DirkSchlossmacher
c9b62875f1 gpt-4 2023-11-09 12:22:53 +01:00
DirkSchlossmacher
c3175d2124 default model config 2023-11-09 12:08:53 +01: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
Yifei Zhang
3b3ebda34b
fix: #3196 3.5-turbo-1106 should use old cutoff date 2023-11-09 11:01:41 +08:00