Commit Graph

1553 Commits

Author SHA1 Message Date
H0llyW00dzZ bb26c03141
Feat [UI/UX] [Constants] [Models] gemini-pro KnowledgeCutOffDate (#3997)
- [+] feat(constant.ts): add 'gemini-pro' to KnowledgeCutOffDate constant
2024-02-05 14:44:46 +08:00
H0llyW00dzZ a5517a1a51
Improve Default System Template (#3996)
* Feat [UI/UX] [Constant] [DEFAULT System Template] replace hardcoded

- [+] feat(constant.ts): replace hardcoded OpenAI with dynamic ServiceProvider variable in DEFAULT_SYSTEM_TEMPLATE

* Improve [UI/UX] [Chat] "fillTemplateWith"

- [+] feat(chat.ts): add DEFAULT_MODELS to modelConfig
- [+] fix(chat.ts): replace replaceAll with regex in output string replacement
- [+] refactor(chat.ts): use const instead of let for cutoff variable
2024-02-05 13:35:51 +08:00
Hk-Gosuto f76e47931f Merge remote-tracking branch 'upstream/main' 2024-02-03 11:30:06 +08:00
Hk-Gosuto 341161037e feat: support-search-in-chats 2024-02-03 11:12:22 +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 1a97bd55c7
Feat [OpenAI] [Models] gpt-3.5-turbo-0125 (#3971)
- [+] feat(constant.ts): add new model 'gpt-3.5-turbo-0125' to DEFAULT_MODELS array
2024-02-03 01:19:25 +08:00
greenjerry bf711f2ad7 修复导出json和markdown时中文及其他utf8字符乱码问题 2024-02-02 13:58:06 +08:00
Hk-Gosuto bb037db94d fix: fix #169 2024-01-31 12:27:53 +08:00
Hk-Gosuto 81ef7a8956 Merge remote-tracking branch 'upstream/main' 2024-01-31 11:38:13 +08: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
Hk-Gosuto 16e82afaad build: update langchain 2024-01-24 20:54:15 +08:00
Hk-Gosuto 30f9dc756a chore: modify the plug-in return 2024-01-24 20:54:15 +08:00
Fred Liang 31d9d2efcd feat: support setting up GTM 2024-01-22 15:12:21 +08:00
Hk-Gosuto 2e8c90fb21 feat: add upload animation 2024-01-20 16:54:35 +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
JonMagon a54a4bc31d Plugins Russian localization 2024-01-16 18:49:49 +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
Hk-Gosuto cf530d0f88
Merge branch 'ChatGPTNextWeb:main' into main 2024-01-08 09:40:35 +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
Hk-Gosuto 296df592e0 feat: support local storage 2024-01-05 19:29:14 +08:00
Hk-Gosuto 8e10354109 fix: export input image 2024-01-02 12:04:10 +08:00
Hk-Gosuto a2b4792d34 Merge remote-tracking branch 'upstream/main' 2024-01-02 09:32:09 +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
Hk-Gosuto d85b95a980 chore: close console 2023-12-31 14:33:49 +08:00
Hk-Gosuto cb096e5772 feat: rewrite WolframAlphaTool 2023-12-31 14:32:47 +08:00
Hk-Gosuto 98b5ace66e fix: gemini authentication error 2023-12-30 11:37:39 +08:00
Hk-Gosuto 2a9b36f626 feat: add wolframAlpha plugin 2023-12-29 19:01:00 +08:00
Hk-Gosuto 4551abdce8 feat: dall-e plugin upgrade 2023-12-29 18:35:14 +08:00
Hk-Gosuto 568ffede5c Merge branch 'feature-openai-tool-call' 2023-12-29 18:23:39 +08:00
Hk-Gosuto cccd518008 fix: tool call returnDirect 2023-12-29 18:19:48 +08:00
Hk-Gosuto 6c71c83af7 fix: gemini 2023-12-29 17:59:49 +08:00
Hk-Gosuto 78bc819742 fix: fix gemini stream output 2023-12-29 14:10:51 +08:00
Fred Liang 9e86aa0901 feat: support streaming for Gemini Pro (#3688)
* feat: support streaming for Gemini Pro

* feat: display texts smoothly

* chore: remove comments
2023-12-29 13:53:26 +08:00
reece00 9da32a4785 Non -GPT model disable system prompt (#3684) 2023-12-29 13:52:52 +08:00
Fred Liang 4240771f66 feat: support vercel speed insight (#3686) 2023-12-29 13:52:51 +08:00
akira-cn d700cbeb9a fix: remove the content-encoding header 2023-12-29 13:52:01 +08:00
akira-cn 3c92e378b5 fix: remove the content-encoding header 2023-12-29 13:52:01 +08:00
Rocky 7595918055 Update api.ts to set proper header "Accept"
So it can work fine for some GPT forward service.
2023-12-29 13:52:01 +08:00
Fred Liang 9bfd979b08 chore: update auth value logic (#3630) 2023-12-29 13:51:02 +08:00
Hk-Gosuto 8cdbc231ca feat: support tool call 2023-12-29 09:43:37 +08:00
pacmandoh 4ea2b66e1a perf: adapting style tightBorder 2023-12-29 09:15:20 +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
pacmandoh 5576481bb4 chore: update layout metadata themeColor 2023-12-27 19:18:26 +08:00
Hk-Gosuto d050fe636f chore: remove log 2023-12-27 18:09:30 +08:00
Hk-Gosuto 3782c48008 feat: compatible old openai message 2023-12-27 13:06:20 +08:00
Hk-Gosuto 42ee0e0924 chore: modify arxiv api http to https 2023-12-27 12:18:56 +08:00
Hk-Gosuto 445e05c63f fix: fix bug 124 2023-12-27 12:17:39 +08:00
pacmandoh af60f46ba2 perf: adjust css var --theme-color 2023-12-27 11:28:20 +08:00
pacmandoh 2a5f0edbf8 fix: home page delete.icon display 2023-12-27 11:28:20 +08:00
pacmandoh 2a81f1aea0 perf: adapting safari theme-color 2023-12-27 11:28:20 +08:00
pacmandoh e20e7da3f4 fix: chat-input-image position on moblie device 2023-12-27 11:28:20 +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
Hk-Gosuto 1c845c5676 feat: support googleCustomSearchTool 2023-12-26 13:25:14 +08:00
Hk-Gosuto e60c0f009b fix: upload image error 2023-12-26 12:42:37 +08:00
H0llyW00dzZ a91ac91977
Fix [UI/UX] [Emoji] emoji URL (#3647) 2023-12-26 03:44:40 +08:00
Hk-Gosuto 24de1bb77a fix: support azure 2023-12-25 19:34:30 +08:00
Hk-Gosuto fa2e046285 Merge remote 2023-12-25 12:40:09 +08:00
Hk-Gosuto da29a94714 Merge remote-tracking branch 'upstream/main' 2023-12-25 12:39:24 +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
Hk-Gosuto b466fabc0a chore: remove gemini model 2023-12-21 19:09:18 +08:00
Hk-Gosuto f572df051d chore: code 2023-12-21 19:09:18 +08:00
Hk-Gosuto ee08ab4070 feat: support gemini pro 2023-12-21 19:09:18 +08:00
Hk-Gosuto 4044891f85 feat: support custom dalle model 2023-12-21 12:39:18 +08:00
Hk-Gosuto 666e62d75a feat: support paste upload image 2023-12-20 13:31:54 +08: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
pacmandoh 4104abf5b8 chore(fix): update cdn emoji links 2023-12-18 13:57:21 +08:00
pacmandoh 07eb9b52b2 chore(update): emoji-datasource-apple version 15.0.1 2023-12-15 15:42:40 +08: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
Hk-Gosuto 789de39b2c feat: support dall-e image not storage 2023-12-14 20:03:53 +08:00
pacmandoh 22f43e5564 update: modify the plugins page close button to fit the overall style 2023-12-12 21:58:11 +08:00
pacmandoh 1f4ae70e0a Fix: plugins-info descriptions nowrap 2023-12-12 21:24:20 +08:00
reece00 1442337e3c The language filtering option of the mask is stored 2023-12-12 02:22:22 +08:00
Hk-Gosuto 1739b035da fix: vercel image preview 2023-12-11 17:26:44 +08:00
Hk-Gosuto 600a7d2197 feat: images using object service storage 2023-12-10 21:23:40 +08:00
Hk-Gosuto b84da5e120 feat: support custom s3 service 2023-12-10 21:04:24 +08:00
Hk-Gosuto eb7711f832 fix: visual model bug 2023-12-07 17:08:26 +08:00
Hk-Gosuto 5f5f182cfc chore: remove console log 2023-12-07 12:39:07 +08:00
Hk-Gosuto 148f763769 fix: font size error 2023-12-07 12:38:06 +08:00
Hk-Gosuto 02abc42682
Merge branch 'Yidadaa:main' into main 2023-12-06 20:11:54 +08:00
Hk-Gosuto addfbd298a fix: fix bug 2023-12-06 14:03:52 +08:00
Hk-Gosuto f9846e4813 chore: style change 2023-12-06 13:12:47 +08:00
Hk-Gosuto 7f3d261fb2 feat: api supports image input 2023-12-06 13:12:47 +08:00
Hk-Gosuto 4c46de7d1d feat: style change 2023-12-06 13:12:47 +08:00
Hk-Gosuto 796abf83ce Merge remote-tracking branch 'upstream/main' 2023-12-06 11:00:40 +08: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
Hk-Gosuto a9f2a9d963 fix(73): fix bug 2023-12-01 17:48:11 +08:00
frankylli 10ea9bf1e3 fix: MessageSelectorWarning 2023-11-29 16:25:15 +08:00
Hk-Gosuto e88685fc98 refactor: refactor code 2023-11-29 13:11:00 +08:00
Hk-Gosuto 293679fa64 refactor: refactor agent api route 2023-11-29 13:11:00 +08:00
Hk-Gosuto 35f5dc52e7 feat: support switch nodejs plugin 2023-11-29 13:11:00 +08:00
Hk-Gosuto a810ebea36 feat: plugin filtering 2023-11-29 13:11:00 +08:00
Hk-Gosuto a8e19a81ff feat: add pdf browser plugin 2023-11-29 13:11:00 +08: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
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
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
Hk-Gosuto e173ac76f4
Merge branch 'Yidadaa:main' into main 2023-11-16 22:01:25 -06:00
Hk-Gosuto aa8ec0a9df chore: update project source 2023-11-16 12:47:48 +08:00
Hk-Gosuto f718ca030f Merge remote-tracking branch 'upstream/main' 2023-11-16 12:46:09 +08:00
Eric-2369 74eb42c111
config: exclude hkg1 from the deployment regions of the edge function 2023-11-16 11:33:10 +08:00
Yidadaa 9876a1aeca fix: #3275 refuse on server side if hide user api key 2023-11-16 00:53:11 +08: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
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
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
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
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
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
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
Hk-Gosuto cbf83eae6d
Merge branch 'Yidadaa:main' into main 2023-11-09 07:30:50 -06:00
Yifei Zhang fd2f441e02
feat: wont send max_tokens 2023-11-09 20:45:25 +08:00
Hk-Gosuto c637826ebe Merge remote-tracking branch 'upstream/main' 2023-11-09 12:10:43 +08:00
Yifei Zhang 3b3ebda34b
fix: #3196 3.5-turbo-1106 should use old cutoff date 2023-11-09 11:01:41 +08:00
Yifei Zhang 87e3d663a2
fix: #3192 use smaller max_tokens as default 2023-11-09 11:00:09 +08: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
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
Hk-Gosuto 5004df4741 chore: remove onmessage throw error 2023-11-08 18:47:31 +08:00
Hk-Gosuto 4eeb21af7d Merge remote-tracking branch 'upstream/main' 2023-11-08 18:43:40 +08:00
Buer 64e8945122
🐛 fix azure openai 'choices' parameter is empty (#60) 2023-11-08 18:33:45 +08:00
安忆 9cb889c34f
docs: up to date 2023-11-08 07:09:52 +08:00
Yidadaa 54a5332834 feat: sort model by name 2023-11-08 01:04:20 +08: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
Yidadaa 638fdd8c3e feat: default disable balance query 2023-11-08 00:20:34 +08:00
Yidadaa 836bf836d3 fix: #3152 system prompt should be injected 2023-11-07 23:54:30 +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
Hk-Gosuto 8272245f7b feat: support dall-e 3 2023-11-07 17:57:53 +08:00
Hk-Gosuto d5566f8c56 chore: merge 2023-11-07 12:02:47 +08:00
Hk-Gosuto 3403825a71
Merge branch 'Yidadaa:main' into main 2023-11-06 22:01:33 -06:00
Hk-Gosuto 6ee2f41529 feat: add gpt-4-1106-preview model 2023-11-07 09:48:54 +08:00
H0llyW00dzZ d2d615c84a
Refactor KnowledgeCutoff
[+] fix(constant.ts): update DEFAULT_SYSTEM_TEMPLATE to include knowledgeCutoff and time variables
[+] feat(chat.ts): add support for injecting system prompts based on model configuration
2023-11-07 06:42:55 +07:00
H0llyW00dzZ 9f26c8cecb
Fix Typo [GPT-4]
[+] fix(constant.ts): fix typo in model name, change "ggpt-4-1106-preview" to "gpt-4-1106-preview"
2023-11-07 06:33:07 +07:00
H0llyW00dzZ cd1f082c52
Feat Models [GPT-4] [GPT-3.5] [128K context]
[+] feat(constant.ts): add new models to DEFAULT_MODELS array
2023-11-07 06:08:06 +07:00
Hk-Gosuto d41b7d3f95
feat: add arxiv plugin (#55) 2023-11-06 18:21:52 +08:00
Yidadaa 5610f423d0 feat: add multi-model support 2023-10-30 02:07:11 +08:00
Hk-Gosuto f8b3d014d7 Merge remote-tracking branch 'upstream/main' 2023-10-17 12:55:04 +08:00
Hk-Gosuto 516f3f4cb1
support stable diffusion plugin (#49) 2023-10-17 12:52:33 +08:00
Yifei Zhang 65c4a0c319
feat: close #3031 user can set larger font size 2023-10-16 11:52:45 +08:00
Hk-Gosuto 3454ea3602 Merge remote-tracking branch 'upstream/main' 2023-10-13 12:46:55 +08:00
Surav Shrestha 986d34fb3e docs: fix typo in app/masks/en.ts 2023-10-12 21:22:35 +05:45
Yifei Zhang 1e77df381a
Update constant.ts 2023-10-12 17:31:29 +08:00
Hk-Gosuto e95242adde
Merge branch 'Yidadaa:main' into main 2023-10-12 09:01:34 +08:00
H0llyW00dzZ 1604ed91fb
Merge branch 'Yidadaa:main' into masks 2023-10-11 07:35:40 +07: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
Jason O'Gray ea59ab5176
Fix type in sync.ts
Simple typo fix.
2023-10-10 11:24:45 -04:00
Hk-Gosuto ae86dfbf70
Merge branch 'Yidadaa:main' into main 2023-10-10 15:14:18 +08:00
Yifei Zhang f54db695af
fix: #2981 full screen button not works 2023-10-10 11:54:25 +08:00
Yifei Zhang fd413c7b52
Merge pull request #2947 from KeithHello/main 2023-10-09 22:45:56 +08:00
Kong Gaowen bdb49b1171
修改界面
似乎这里引入了一个逻辑判断错误,会导致打包之后的界面变宽变高。
2023-10-09 18:50:10 +08:00
Hk-Gosuto 8b769714ce
fix(43): fix dall-e plugin (#46) 2023-10-08 02:53:38 -05:00
Hk-Gosuto 33d4f3d603
Merge branch 'Yidadaa:main' into main 2023-10-07 20:17:16 -05:00
GH Action - Upstream Sync 5933b3d7eb Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-10-08 00:19:29 +00:00
Yifei Zhang 4c8d606fae
Merge pull request #2950 from PeterDaveHello/locale-tw 2023-10-08 00:20:39 +08:00
Yifei Zhang 13c1d2fd2b
Merge pull request #2946 from H0llyW00dzZ/ClientApp 2023-10-07 23:50:49 +08:00
Yifei Zhang 5a2cc6f154
Merge pull request #2927 from lifeeric/MACOS 2023-10-07 23:10:43 +08:00
Peter Dave Hello 88f8c43472 Improve tw locale 2023-10-07 23:06:20 +08:00
KeithHello 1505372e20 Change log
-   config.ts
    -   line 72: remove type confirmation of x as x always has type 'number'
    -   line 135: remove the redundant local variable
-   chat.ts
    -   delete the unused import
2023-10-04 18:08:29 +09:00
KeithHello ad5093ce05 Change log
-   config.ts
    -   line 72 remove type confirmation of x as x always has type 'number'
    -   line 135 remove redundant local variable
-   chat.ts
    -   delete unused import
2023-10-04 17:40:23 +09:00
H0llyW00dzZ b558d1afc6
Feat & Fix "Client App [Notification]"
[+] feat(update.ts): add support for localization in update notifications
[+] fix(update.ts): add missing semicolon in useUpdateStore function
2023-10-04 02:10:26 +07:00
H0llyW00dzZ ddfd05b008
Fix & Feat Client App [Notification]
[+] fix(update.ts): remove unnecessary notification sending when permission is not granted
[+] feat(update.ts): add notification for already up to date version
2023-10-03 09:12:41 +07: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 64a17abfe2
Client App [Notification]
[+] feat(global.d.ts): add support for window.__TAURI__.notification methods
[+] feat(update.ts): add notification for new version availability
[+] fix(Cargo.toml): add tauri feature "notification-all" to enable notifications
[+] fix(tauri.conf.json): enable all notification features in tauri configuration
2023-10-03 08:08:11 +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 31e30906d0
Refactor Locale Indonesia
[+] refactor(id.ts): remove unused import and isApp variable
[+] fix(id.ts): update Unauthorized error message
2023-09-30 22:59:24 +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
EricGit f1ca03e378
[FIXED] now it should detects all macintosh 2023-09-28 13:21:17 -04:00
Eric R f3d5fc7a84 [FIXED] now the default key should be CMD on MacOS 2023-09-28 06:50:31 -04:00
Eric R 3bfcdf9c41
[ADDED] MacOS detect 2023-09-28 06:10:22 -04:00
Hk-Gosuto 686e997e46
Merge branch 'Yidadaa:main' into main 2023-09-27 22:35:21 +08:00
Hk-Gosuto 8e4f6fc4d6
Merge branch 'Yidadaa:main' into main 2023-09-27 17:12:02 +08: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
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
hang666 83f5dc48d1
支持直连google\baidu搜索引擎 (#30)
* 支持直连google\baidu搜索引擎

* 删除无用参数
2023-09-22 09:35:38 +08:00
Hk-Gosuto 4972eefe9d
Merge branch 'Yidadaa:main' into main 2023-09-20 17:59:23 +08:00
Hk-Gosuto 4aa569d80f fix(24): 移除R2存储文件获取接口的鉴权 2023-09-20 17:54:32 +08:00
Yifei Zhang 23eb7732d7
feat: support more http status check for webdav 2023-09-20 17:47:35 +08:00
Hk-Gosuto b0371af295
Merge branch 'Yidadaa:main' into main 2023-09-20 09:19:21 +08:00
Yifei Zhang 26e50cefea
Update chat.tsx 2023-09-20 02:09:14 +08:00
Yifei Zhang 588e907181
Merge pull request #2873 from Yidadaa/bugfix-0919 2023-09-19 23:42:09 +08:00
Yidadaa eae7d6260f fix: should not tight border in desktop app 2023-09-19 23:26:52 +08:00
Hk-Gosuto 83c2a599ca
Merge branch 'Yidadaa:main' into main 2023-09-19 11:14:16 +08:00
Yifei Zhang 37b49400db
Update constant.ts 2023-09-19 11:03:03 +08:00
Hk-Gosuto 90ce3f1e19
Merge branch 'Yidadaa:main' into main 2023-09-19 10:40:09 +08:00
Yidadaa f1e7db6a88 feat: auto fill upstash backup name 2023-09-19 03:33:17 +08:00
Yidadaa 83fed42997 feat: add upstash redis cloud sync 2023-09-19 03:18:34 +08:00
Yidadaa 59fbadd9eb fixup 2023-09-19 02:21:31 +08:00
Yidadaa adb860b464 fix: #2820 try to fix 520 error code 2023-09-19 02:12:43 +08:00
Yidadaa 61ca60c550 fix: #2817 min-height for landscape orientation on mobile phone 2023-09-19 01:58:52 +08:00
Yidadaa d713d01600 feat: close #2848 click drag icon to toggle sidebar width 2023-09-19 01:47:15 +08:00
Hk-Gosuto ccf840b3ca Merge remote-tracking branch 'upstream/main' 2023-09-18 19:07:58 +08:00
Gerhard Tan c900459f73 Encode google font url 2023-09-18 10:22:07 +08:00
Hk-Gosuto 2947274ce6 feat: Cloudflare R2 对象存储支持 2023-09-16 19:01:35 +08:00
Hk-Gosuto 6d8150a1b0 Merge branch 'main' into feat/dalle-plugin 2023-09-16 18:53:08 +08:00
Yifei Zhang 3e1514239c
Merge pull request #2839 from a6z6/main 2023-09-15 15:17:46 +08:00
Amor Zara bd69116df2
Update route.ts
Correct typo error and make warning more specific.
2023-09-15 11:21:42 +08:00
Algorithm5838 6535986484
Update markdown.tsx 2023-09-15 06:06:34 +03:00
Hk-Gosuto 6da890e363 revert: 移除ddg配置代理的功能 2023-09-15 00:01:01 +08:00
Hk-Gosuto d41cf84abc Merge remote-tracking branch 'upstream/main' 2023-09-14 23:55:51 +08:00
Hk-Gosuto e23d50e862 fix bug 2023-09-14 23:45:18 +08:00
Hk-Gosuto e9285ebbef fix bug 2023-09-14 23:26:37 +08:00
Hk-Gosuto 6a0791f0a2 feat: 增加dall-e插件 2023-09-14 23:16:18 +08:00
Yifei Zhang e03db9c2d5
Merge pull request #2826 from H0llyW00dzZ/language 2023-09-14 10:49:44 +08:00
Hk-Gosuto 5069bd839d
Merge branch 'Yidadaa:main' into main 2023-09-14 09:25:37 +08:00
H0llyW00dzZ 261bf0b298
Changes "Nama" -> "User" 2023-09-13 20:49:22 +07:00
H0llyW00dzZ 5a7bdcfe59
[+] Some improvements to the Indonesian language. 2023-09-13 20:17:30 +07:00
H0llyW00dzZ 4f3261b262
[+] Some improvements to the Indonesian language. 2023-09-13 20:05:58 +07:00
yhua1998 48e6087b1b fix: The width of the sidebar changes abruptly by dragging it multiple times over and over again (bouncing) 2023-09-13 16:55:31 +08:00
yhua1998 28103c901d
Refactor: sidebar drag 2023-09-13 16:24:21 +08:00
yhua1998 368701610f
fix: Width changes abruptly when dragging the sidebar (jumps)
In useRef is non-responsive, we can't get the modified config.sidebarWidth dynamic modification value in handleMouseUp
2023-09-13 13:57:30 +08:00
Hk-Gosuto 9a690dbcd0 fix(15): 修复插件功能支持模型判断逻辑 2023-09-13 13:06:39 +08:00
Hk-Gosuto 38c41f9ed3 Merge remote-tracking branch 'upstream/main' 2023-09-13 12:47:16 +08:00
Yifei Zhang 74e32efa7d
Merge pull request #2819 from Yidadaa/webdav 2023-09-13 02:56:10 +08:00
Yidadaa dc555b2206 fixup 2023-09-13 02:52:28 +08:00
Yidadaa 6f83fbd212 feat: add webdav support 2023-09-13 02:51:02 +08:00
Hk-Gosuto a84b0f03b9 Merge remote-tracking branch 'upstream/main' 2023-09-12 13:14:32 +08:00
Hk-Gosuto 1e8068436f feat: ddg插件支持单独配置http代理 2023-09-12 13:02:41 +08:00
B0zal b5e89d4440
[+] Updated Auth Page
- Made changes to the Auth Page to reset the input field for the access code when the "Later" button is clicked.
This ensures that only expected user is logged by entering access code or entering their OpenAI API Key, mitigating the risk of small bug issue
2023-09-12 07:00:23 +07:00
Hk-Gosuto 06a8a10e54 Merge remote-tracking branch 'upstream/main' 2023-09-11 12:05:49 +08:00
B0zal 605dd72354
[+] CodeQL Report Fix log injection vulnerability in useSyncStore
Severity : High
Sanitize the 'res' object before logging it in the 'check' method of useSyncStore to prevent log injection attacks.
The 'res' object is now sanitized by extracting only the necessary properties ('status', 'statusText', and 'headers') and logging the sanitized object instead.
This ensures that only safe and expected data is logged, mitigating the risk of log injection vulnerabilities.
2023-09-11 08:49:08 +07:00
Yifei Zhang 9770b65146
Merge pull request #2798 from Yidadaa/backup 2023-09-11 00:41:25 +08:00
Yidadaa 57158890c3 fixup 2023-09-11 00:39:56 +08:00
Yifei Zhang 6f8f490fdd
Merge pull request #2797 from Yidadaa/backup 2023-09-11 00:36:24 +08:00
Yidadaa 415e9dc913 fixup: minor sync fixup 2023-09-11 00:34:51 +08:00
Yifei Zhang 1487762925
Merge pull request #2796 from Yidadaa/backup 2023-09-11 00:27:51 +08:00
Yidadaa c73a91a0f5 fixup: fix type errors 2023-09-11 00:24:05 +08:00
Yidadaa 5dced28088 fixup: add en locales 2023-09-11 00:22:14 +08:00
Yidadaa 38f6956e71 feat: close #2754 add import/export to file 2023-09-11 00:20:23 +08:00
shoito 505c8cde81
improve japanese translations 2023-09-09 16:10:24 +09:00
Hk-Gosuto 67696fa046 feat: 添加维基百科插件 2023-09-09 13:13:26 +08:00
Hk-Gosuto 7c8872beb9 fix(12): 修复问题 2023-09-05 19:08:29 +08:00
Hk-Gosuto e1fc468c4a
Merge branch 'Yidadaa:main' into main 2023-09-05 09:33:28 +08:00
Yidadaa 885f2a3226 feat: close #2752 auto re-fill unfinished input 2023-09-05 01:54:28 +08:00
Hk-Gosuto c9c5ab2a9b feat: 支持开关指定内置插件 2023-09-04 21:59:42 +08:00
Hk-Gosuto c5cc16ca09 Merge remote-tracking branch 'upstream/main' 2023-08-28 19:53:05 +08:00
Yifei Zhang 107b584085
Merge pull request #2705 from kfear1337/language 2023-08-28 01:02:23 +08:00
Yifei Zhang 6d8416f838
Merge pull request #2713 from kfear1337/CodeQL-Report 2023-08-28 00:54:58 +08:00
Yifei Zhang 876a0cb6f7
Merge pull request #2717 from Yidadaa/bugfix-0827 2023-08-28 00:51:54 +08:00
Yidadaa 3bd76b9156 feat: close #2580 only use 3.5 to summarize when not using custom models 2023-08-28 00:02:52 +08:00
B0zal 22a6819f7b
Security Update
[+] Protect Prototype
2023-08-26 22:16:29 +07:00
B0zal 5e23ad2db1
Security Update
Potentially unsafe external link
2023-08-26 22:16:29 +07:00
B0zal 63c93a42b5
[+] Fixed language missing for finetuned 2023-08-25 18:15:50 +07:00
B0zal e6cc1625b5
[+] FineTuned Sysmessage Depends for local language
this for JSON Exporter
2023-08-25 17:48:25 +07:00
B0zal f65b0128e7
Issue #2702 should be fixed now kiw kiw
where the ChatGPTicon.src
glitches and breaks when exporting the image for the second time without refreshing the page.
2023-08-25 17:46:19 +07:00
B0zal 507b7fee56
[+] Language indonesia (my country) 2023-08-25 17:42:02 +07:00
Yifei Zhang b3fd56c2c1
Merge pull request #2685 from reece00/456 2023-08-24 11:12:47 +08:00
B0zal 0113d4499b
[Feature] Better JSON Exporter #2692
[+] A view looks better
[+] auto minify json when click a copy in markdown and download

Co-Authored-By: wangwentong-lunaon <39506652+wangwentong-lunaon@users.noreply.github.com>
Co-Authored-By: Yifei Zhang <yidadaa@qq.com>
Co-Authored-By: B0zal <48602426+kfear1337@users.noreply.github.com>
2023-08-23 21:14:43 +07:00
Hk-Gosuto 4db91346fd feat: 修改默认迭代次数 2023-08-23 16:28:42 +08:00
reece00 4d3fdbdd80
The mobile terminal ishitbottom does not perform -10 2023-08-22 12:35:51 +08:00
Hk-Gosuto 987ddf5f0f feat: 修改插件模型版本限制 2023-08-21 23:55:08 +08:00
Hk-Gosuto 609155b318
Merge branch 'Yidadaa:main' into main 2023-08-21 20:18:29 +08:00
Yifei Zhang e1142216ec
fix: #2672 should use correct resend index 2023-08-21 18:33:45 +08:00
Hk-Gosuto 00479d5b32 feat: 网络访问更换为WebBrowser插件 2023-08-21 12:51:18 +08:00
Hk-Gosuto fdc43976ee
Merge branch 'Yidadaa:main' into main 2023-08-20 23:11:08 +08:00
GH Action - Upstream Sync 3aeb2c1230 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-08-19 01:06:19 +00:00
Yifei Zhang 484d1e7396
Merge pull request #2649 from pichuang/zh-tw 2023-08-18 18:40:30 +08:00
Clarence Dan aa3f96f89c
Update globals.scss 2023-08-18 18:18:16 +08:00
Clarence Dan 16685ddb6c Update chat.module.scss 2023-08-18 17:21:58 +08:00
Clarence Dan e78b15b9f0 Update chat.module.scss
Specify styles for iOS devices.
2023-08-18 17:12:02 +08:00
Hk-Gosuto 9a8b3f06cd feat: agent支持自定义openaikey 2023-08-18 13:40:04 +08:00
Algorithm5838 35b0bd76f8
Update markdown.tsx 2023-08-18 08:12:27 +03:00
Hk-Gosuto 20366fee35 feat: agent支持baseUrl配置 2023-08-18 12:01:28 +08:00
Phil Huang 1d7286c161
Improve the text in tw.ts
Adoption of text that is more closely aligned with the usage of zh-tw
2023-08-17 23:50:38 +08:00
Hk-Gosuto bfc3e90580 Merge remote-tracking branch 'upstream/main' 2023-08-17 12:53:15 +08:00
Hk-Gosuto 75b344d868 chore: 符号错误修复 2023-08-17 12:51:01 +08:00
Hk-Gosuto 76eb2afd06 feat: 支持全局配置插件 2023-08-16 13:39:00 +08:00
Hk-Gosuto dd0b451a7c
Merge branch 'Yidadaa:main' into main 2023-08-15 22:58:11 +08:00
Yidadaa ed62c87156 feat: close #2638 hide auth page and use better unauth tips 2023-08-15 22:50:42 +08:00
Yidadaa 840277f584 fix: #2566 click avatar to edit context messages 2023-08-15 22:42:55 +08:00
wangwentong b380421fd5 support json export 2023-08-15 13:32:34 +08:00
Hk-Gosuto d85c18b3e1
Merge branch 'Yidadaa:main' into main 2023-08-14 23:20:31 +08:00
Yifei Zhang 20882a7598
Merge pull request #2629 from Yidadaa/bugfix-0814 2023-08-14 22:13:56 +08:00
Yifei Zhang 9d3dff47d2
Merge pull request #2627 from imldy/dev_title-generation-checkbox 2023-08-14 22:12:26 +08:00
Yidadaa db5c7aba78 fix: #2615 scrollbar jitter under certain message counts 2023-08-14 22:11:38 +08:00
Yidadaa e8e01aa60d feat: close #2618 use correct html lang attr 2023-08-14 21:55:18 +08:00
Yidadaa ae8226907f feat: close #2621 use better default api url 2023-08-14 21:36:29 +08:00
imldy 803b66ae9d chore: Concise description 2023-08-14 20:47:02 +08:00
imldy 20a508e2d6 feat: add autoGenerateTitle option
(cherry picked from commit 656ab94a9c4edfee820616b8cfc39f5ee9952a3a)
2023-08-14 20:42:09 +08:00
Hk-Gosuto 53998a9394 Merge remote-tracking branch 'upstream/main' 2023-08-14 18:57:15 +08:00
Yifei Zhang 808e4b38a3
fixup 2023-08-14 11:10:02 +08:00
Yifei Zhang a496bc5a63
fix: #2614 better rtl detecting algo 2023-08-14 10:57:24 +08:00
Yifei Zhang c94713475f
Update globals.scss 2023-08-13 02:47:07 +08:00
Hk-Gosuto 6f38ee9a88
Merge pull request #8 from Hk-Gosuto/dev
支持 ChatSession 级别插件功能开关
2023-08-12 00:56:18 +08:00
Hk-Gosuto fb1b92e9cc feat: 支持 ChatSession 级别插件功能开关 2023-08-12 00:53:15 +08:00
Hk-Gosuto 6b28bcd9b5 feat: 支持session级别插件开关 2023-08-11 17:55:50 +08:00
Hk-Gosuto 1147d63e8e
Merge branch 'Yidadaa:main' into main 2023-08-10 11:48:57 +08:00
Yifei Zhang 0b7de6f7b2
fix: #2594 trim the / 2023-08-10 10:47:06 +08:00
Yifei Zhang 67c8ec6d7e
chore: change ACCESS_CODE_PREFIX to nk- 2023-08-09 15:27:08 +08:00
Hk-Gosuto 987598f30d Merge remote-tracking branch 'upstream/main' 2023-08-09 12:27:52 +08:00
Hk-Gosuto b15e0b7c6d feat: 支持插件异常反馈 2023-08-09 12:14:56 +08:00
Yifei Zhang 9420fd4946
Merge pull request #2585 from Yidadaa/bugfix-0808 2023-08-08 21:38:42 +08:00
Yidadaa b14c5cd89c fix: #2485 one-time-use body 2023-08-08 21:36:37 +08:00
Yidadaa 4ab9141429 fix: #2564 should not clear message when error 2023-08-08 21:24:45 +08:00
Yidadaa 769c2f9f49 feat: close #2583 do not summarize with gpt-4 2023-08-08 21:22:41 +08:00
Hk-Gosuto a7c4b1d6b2
Merge branch 'Yidadaa:main' into main 2023-08-08 18:55:57 +08:00
7lsu d1096582a5 font family display enhance 2023-08-07 17:44:32 +08:00
Hk-Gosuto d693d51201 feat: 增加bing搜索插件支持 2023-08-07 12:31:03 +08:00
Hk-Gosuto f7bba11890
Merge branch 'Yidadaa:main' into main 2023-08-07 12:23:24 +08:00
Yifei Zhang 543989151f
Update constant.ts 2023-08-04 19:24:10 +08:00
Yifei Zhang 7da83987e4
chore: use bigger page size and render msg count 2023-08-04 15:45:16 +08:00
Hk-Gosuto 38b327f659
Merge branch 'Yidadaa:main' into main 2023-08-04 09:36:52 +08:00
Yidadaa 523d553dac fix: clear btn should display in correct place 2023-08-04 02:58:02 +08:00
Yidadaa 3e63f6ba34 feat: disable auto focus on mobile screen 2023-08-04 02:43:55 +08:00
Yidadaa bc5ddc4541 fixup: improve auto scroll algo 2023-08-04 02:39:32 +08:00
Yidadaa 203067c936 feat: close #2545 improve lazy load message list 2023-08-04 02:16:44 +08:00
Hk-Gosuto 581ea756f8
Merge branch 'Yidadaa:main' into main 2023-08-03 11:58:18 +08:00
Yidadaa 75d4eca722 chore: smaller auto scroll interval 2023-08-02 23:51:01 +08:00
Yidadaa b5ef552c25 feat: improve auto scroll ux and edit model title 2023-08-02 23:35:51 +08:00
Hk-Gosuto 305e9b6c7d
Merge branch 'Yidadaa:main' into main 2023-08-02 23:05:18 +08:00
Yidadaa cbabb9392c feat: improve ChatAction ux 2023-08-02 22:53:36 +08:00
Hk-Gosuto 6271491399 fix: 修复 vercel 部署接口超时的问题 2023-08-02 12:59:21 +08:00
Levi Borodenko d975daf3f0
locale: add link to authentication page in i18n 2023-08-01 16:17:26 +02:00
Hk-Gosuto db4b808257
Merge branch 'Yidadaa:main' into main 2023-08-01 15:56:35 +08:00
7lsu cf625e3542
typo fix 2023-08-01 10:16:36 +08:00
Hk-Gosuto d654f02f18
Merge branch 'Yidadaa:main' into main 2023-08-01 09:42:34 +08:00
Yidadaa 129e7afc16 fix: #2514 should not clear the message after editing message 2023-07-31 22:20:39 +08:00
Hk-Gosuto a5bc735548 fix: 修复问题 2023-07-31 18:40:46 +08:00
Hk-Gosuto 39ee7591a5 chore: 更新引用 2023-07-29 19:09:28 +08:00
Hk-Gosuto ccef03bed0 feat: 增加国粹AI面具 2023-07-29 19:03:12 +08:00
Hk-Gosuto 1d5e8a9cbf feat: 支持duckduckgo搜索插件 2023-07-29 19:02:57 +08:00
Hk-Gosuto 2faa6606f5
Merge branch 'Yidadaa:main' into main 2023-07-25 23:17:54 +08:00
Yidadaa 13576087f4 fix: #2393 try to fix chat list lag 2023-07-25 22:59:21 +08:00
Hk-Gosuto 58d2024fea feat: agent接口支持鉴权 2023-07-24 12:01:44 +08:00
Hk-Gosuto 08d53ef0a6 fix: 修复编译错误 2023-07-22 15:46:28 +08:00
Hk-Gosuto 2bb421b8bf feat: 使用langchain实现插件功能 2023-07-22 15:38:44 +08:00
Hk-Gosuto 9223f95726 feat: 插件使用样式 2023-07-21 13:25:50 +08:00
Hk-Gosuto 377a50e2a6
Merge branch 'Yidadaa:main' into main 2023-07-21 11:41:59 +08:00
Yidadaa 7c2fa9f8a4 feat: close #2449 edit / insert / delete messages modal 2023-07-21 00:24:26 +08:00
Yidadaa e5f6133127 feat: close #2447 pre-fill key/code/url 2023-07-20 23:17:58 +08:00
Hk-Gosuto b2f199d25e
Merge branch 'Yidadaa:main' into main 2023-07-20 11:49:50 +08:00
Hopelwj b9895ecadd
Merge branch 'Yidadaa:main' into main 2023-07-18 19:39:59 +08:00
liuweijie 322eb66fdf fix: useAccessStore filter spaces 2023-07-18 19:38:16 +08:00
Hk-Gosuto 839c5392f5
Merge branch 'Yidadaa:main' into main 2023-07-17 12:08:37 +08:00
Yifei Zhang 70a4f94c81
Update home.tsx 2023-07-17 11:33:19 +08:00
Yifei Zhang f7e4b36746
Merge pull request #2412 from Yidadaa/fix-2409
fix: #2409 empty prompt id cause crash
2023-07-17 11:03:33 +08:00
Yifei Zhang c916cd1a87
Update mask.tsx 2023-07-17 11:00:45 +08:00
Hk-Gosuto 22dd01dc59
Merge branch 'Yidadaa:main' into main 2023-07-16 23:02:53 +08:00
兰天游 442a529a72
feat: add type for import 2023-07-16 21:35:13 +08:00
兰天游 e1243f3d59
feat: add typings for metadata 2023-07-16 21:34:01 +08:00
Yidadaa af5f67d459 feat: close #2376 add babel polyfill 2023-07-16 16:32:22 +08:00
Yidadaa 30473ec41e fix: #2367 do not copy in async callback after sharing to ShareGPT 2023-07-16 16:14:57 +08:00
Yidadaa 3ddedc903e feat: improve dnd icon 2023-07-16 15:49:15 +08:00
Yifei Zhang e3c279b8be
Merge pull request #2389 from MarkShawn2020/fix-default-openai-url
fixed openai base url if empty
2023-07-16 15:20:26 +08:00
Yifei Zhang 08a8ac9971
Merge pull request #2388 from yikayiyo/feat-drag-prompts
feat: #2297 drag and drop in contextual prompts
2023-07-16 14:30:49 +08:00
Yifei Zhang 7073fd2f3b
Merge pull request #2392 from imldy/dev_SetInjectSystemPrompts
fix: enable `enableInjectSystemPrompts` attribute for old sessions
2023-07-16 14:29:50 +08:00
Hk-Gosuto eb95555133
Merge branch 'Yidadaa:main' into main 2023-07-15 16:34:11 +08:00
imldy a9f67a48a1 dev: use current inject configuration 2023-07-15 02:48:47 +08:00
imldy fd058cc693 fix: enable `enableInjectSystemPrompts` attribute for old sessions 2023-07-15 01:32:39 +08:00
markshawn2020 3f8b14f5f8 fixed react key 2023-07-14 21:15:34 +08:00
markshawn2020 1c335a68e0 fixed openai base url if empty 2023-07-14 21:03:32 +08:00
legao fb98050d9f feat: drag and drop in contextual prompts 2023-07-14 18:08:03 +08:00
Hk-Gosuto a05dbfb26f
Merge branch 'Yidadaa:main' into main 2023-07-13 12:08:55 +08:00
Yifei Zhang b51f7f9a25
Merge pull request #2370 from Yidadaa/bugfix-0712
fix: sharegpt roles
2023-07-12 23:21:22 +08:00
Yidadaa d275e32e70 fix: sharegpt roles 2023-07-12 23:19:46 +08:00
Hk-Gosuto be560a7485
Merge branch 'Yidadaa:main' into main 2023-07-12 11:10:21 +08:00
Yifei Zhang 22cf78d506
Merge pull request #2355 from fyl080801/main
fix: cloudflare headers
2023-07-11 23:57:03 +08:00
imldy a4d012828c fix: migrated mask object key 2023-07-11 21:02:09 +08:00
yuanliang feng a832cfb343
Update common.ts 2023-07-11 15:46:40 +08:00
Hk-Gosuto abb216100d
Merge branch 'Yidadaa:main' into main 2023-07-11 13:02:58 +08:00
yuanliang feng 9ef680db57
Merge pull request #2 from fyl080801/main
update
2023-07-10 23:35:19 +08:00
yuanliang feng 2c09f4ef90
Merge pull request #1 from fyl080801/main
update
2023-07-10 23:23:20 +08:00
Yidadaa ad1b9b7f6d fixup 2023-07-10 23:21:22 +08:00
Yidadaa 15e063e1b5 feat: #2330 disable /list/models 2023-07-10 23:19:43 +08:00
Yidadaa c00a63e4c3 fix: #2336 resending message should delete origional messages 2023-07-10 22:59:12 +08:00
imldy f59235bd5a feat: 翻译InjectSystemPrompts配置项为其他语言 2023-07-10 20:14:10 +08:00
imldy 2930ba0457 fix: 修改InjectSystemPrompts.SubTitle使其更符合系统行为 2023-07-10 20:12:51 +08:00
imldy 1513881eed fix: 修改是否应该注入System Prompt的判断规则为根据设置项 2023-07-10 18:57:54 +08:00
imldy 5e361f6748 dev: 增加模型设置项:是否启用注入全局 System Prompt 功能 2023-07-10 18:56:22 +08:00
yuanliang feng 7a0b437626
Update common.ts 2023-07-10 17:26:28 +08:00
Hk-Gosuto 2c69d5c557
Merge branch 'Yidadaa:main' into main 2023-07-10 15:27:47 +08:00
Hk-Gosuto 55ff34f511
Merge branch 'Yidadaa:main' into main 2023-07-10 12:26:34 +08:00