Commit Graph

1646 Commits

Author SHA1 Message Date
lloydzhou 4a95dcb6e9 hotfix get wrong llm 2024-08-05 12:45:25 +08:00
lloydzhou 1610675c8f remove hash.js 2024-08-05 11:36:35 +08:00
GH Action - Upstream Sync 724c814bfe Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2024-08-04 01:04:56 +00:00
frostime 8a4b8a84d6 feat: 调整模型列表,将自定义模型放在前面显示 2024-08-03 17:16:05 +08:00
frostime 8ec6acc55a 🎨 i18n: add locale about "font family config"
Note: The language is translated by GPT
2024-08-03 16:24:51 +08:00
frostime b6a022b0ef feat(config): Set markdown's font-family 2024-08-03 16:04:20 +08:00
李超 716899c030 fix: Fixed the issue that WebDAV synchronization could not check the status and failed during the first backup 2024-08-03 12:40:48 +08:00
frostime deb140de73 feat: 为命令前缀( `:` )支持中文符号 `:` 2024-08-02 22:38:31 +08:00
织梦人 3c1e5e7978
Merge branch 'ChatGPTNextWeb:main' into main 2024-08-02 22:26:28 +08:00
Dogtiti 4a8e85c28a fix: empty response 2024-08-02 22:16:08 +08:00
李超 8498cadae8 fix: Fixed an issue where the sample of the reply content was displayed out of order 2024-08-02 21:06:03 +08:00
lloydzhou 8c83fe23a1 using b64_json for dall-e-3 2024-08-02 20:58:21 +08:00
Lloyd Zhou 324d30bef9
Merge pull request #5136 from frostime/contrib-txtcode
 feat(markdown): 对纯文本的代码块内容进行折行处理
2024-08-02 19:22:13 +08:00
lloydzhou 46cb48023e fix typescript error 2024-08-02 18:50:48 +08:00
lloydzhou 1c24ca58c7 add dalle3 model 2024-08-02 18:03:19 +08:00
Lloyd Zhou 9193a9a0e0
Merge pull request #5147 from ConnectAI-E/fix-locales
fix: locales => Locale
2024-08-02 18:02:13 +08:00
Lloyd Zhou 957244ba2e
Merge pull request #5154 from ConnectAI-E/fix-sidebar-style
fix: sidebar title style
2024-08-02 18:01:51 +08:00
lloydzhou ac599aa47c add dalle3 model 2024-08-02 18:00:42 +08:00
lloydzhou feaa6f9bf0 Merge remote-tracking branch 'connectai/feature/tencent' into feature/tencent 2024-08-02 15:56:25 +08:00
lloydzhou 753bf3b924 hotfix for cf deploy error #5168 2024-08-02 15:55:26 +08:00
Dogtiti a17df037af feat: add lodash-es 2024-08-01 23:54:14 +08:00
lloydzhou dfc36e5210 update 2024-08-01 19:02:40 +08:00
lloydzhou c359b92ddc update 2024-08-01 18:58:07 +08:00
lloydzhou e1d6131f13 update 2024-08-01 16:49:55 +08:00
lloydzhou 6a0bda00f5 merge main 2024-08-01 15:39:54 +08:00
lloydzhou f85ec95877 hotfix for tencent sign 2024-08-01 15:33:48 +08:00
lloydzhou fd9e94e078 merge main 2024-08-01 13:18:33 +08:00
lloydzhou 966db1e4be add moonshot settings 2024-08-01 12:03:22 +08:00
lloydzhou b8bbc37b8e merge main 2024-08-01 11:57:23 +08:00
lloydzhou 40cbabc330 add moonshot api 2024-08-01 11:55:22 +08:00
Dogtiti 99f3160aa2 fix: sidebar title style 2024-07-31 22:10:24 +08:00
Dogtiti 8cb72d8452 fix: locales => Locale 2024-07-30 21:25:33 +08:00
Dogtiti c9eb9f3eda
Merge pull request #5141 from ConnectAI-E/hotfix-google-api-in-app
hotfix for using google api in app
2024-07-30 15:42:30 +08:00
lloydzhou 64c3dcd732 hotfix for using google api in app 2024-07-30 12:03:06 +08:00
frostime d49ececcc5 feat(markdown): wrap the plain text code block 2024-07-29 19:10:00 +08:00
Lloyd Zhou 35c5518668
Merge pull request #5110 from ConnectAI-E/fix/owner
chore: update owner
2024-07-26 19:28:45 +08:00
ElricLiu b27f394995
Merge pull request #5092 from ConnectAI-E/feature-artifacts
[Artifacts] add preview html code
2024-07-26 17:28:49 +08:00
Dogtiti 3f9f556e1c fix: iframe bg 2024-07-26 17:06:10 +08:00
Dogtiti 1772d5c4b6 chore: update owner 2024-07-26 16:00:25 +08:00
Dogtiti 715d1dc02f fix: default enable artifacts 2024-07-26 15:55:01 +08:00
Dogtiti 6737f016f5 chore: artifact => artifacts 2024-07-26 15:50:26 +08:00
Dogtiti f2d2622172 fix: uploading loading 2024-07-26 13:49:15 +08:00
Dogtiti 72d6f97024 fix: ts error 2024-07-26 11:21:51 +08:00
Dogtiti c27ef6ffbf feat: artifacts style 2024-07-25 23:29:29 +08:00
Lloyd Zhou f5499ff699
Merge pull request #5071 from ZTH7/main
Fix defaultModel undefined error
2024-07-25 21:02:39 +08:00
Mr. Z c4334d4e5f
Update model.ts 2024-07-25 20:03:54 +08:00
Dogtiti 51e8f0440d Merge branch 'feature-artifacts' of https://github.com/ConnectAI-E/ChatGPT-Next-Web into feature/artifacts-style 2024-07-25 19:43:20 +08:00
lloydzhou 5ec0311f84 fix typescript error 2024-07-25 19:38:18 +08:00
lloydzhou 556d563ba0 update 2024-07-25 19:31:16 +08:00
lloydzhou 6a083b24c4 fix typescript error 2024-07-25 19:22:18 +08:00
lloydzhou 825929fdc8 merge main 2024-07-25 19:18:45 +08:00
Lloyd Zhou 941a03ed6c
Merge pull request #4983 from OpenAI-Next/dev-sd
[Feature] Stable Diffusion
2024-07-25 19:13:37 +08:00
Mr. Z 5c04d3c5ea
Change method 2024-07-25 17:59:15 +08:00
Mr. Z 46a47db2d8
Merge branch 'ChatGPTNextWeb:main' into main 2024-07-25 17:55:53 +08:00
Dogtiti 21ef9a4567 feat: artifacts style 2024-07-25 17:37:21 +08:00
lloydzhou d8afd1af88 add expiration_ttl for kv storage 2024-07-25 16:56:08 +08:00
lloydzhou 7c1bc1f1a1 hotfix: auto set height 2024-07-25 15:27:44 +08:00
lloydzhou 763fc89b29 add fullscreen button on artifact component 2024-07-25 15:10:17 +08:00
lloydzhou 47b33f2b17 hotfix: auto set height 2024-07-25 14:15:16 +08:00
lloydzhou 9f0e16b045 hotfix: ts check 2024-07-25 13:48:21 +08:00
lloydzhou 2efedb1736 update 2024-07-25 13:34:59 +08:00
lloydzhou 044116c14c add plugin selector on chat 2024-07-25 13:29:39 +08:00
lloydzhou b4bf11d648 add loading icon when upload artifact content 2024-07-25 12:49:19 +08:00
lloydzhou 6cc0a5a1a4 remove code 2024-07-25 12:36:48 +08:00
lloydzhou 8f14de5108 hotfix: ts check 2024-07-25 12:34:35 +08:00
lloydzhou 8f6e5d73a2 hotfix: can send sd task in client 2024-07-25 12:31:30 +08:00
lloydzhou ab9f5382b2 fix typescript 2024-07-24 20:51:33 +08:00
Dogtiti fd441d9303 feat: discovery icon 2024-07-24 20:41:41 +08:00
lloydzhou e31bec3aff save artifact content to cloudflare workers kv 2024-07-24 20:36:11 +08:00
Dogtiti 2a1c05a028 fix: bugs 2024-07-24 20:04:22 +08:00
lloydzhou 421bf33c0e save artifact content to cloudflare workers kv 2024-07-24 20:02:37 +08:00
DDMeaqua 9c7bacc65e chore: update 2024-07-24 10:45:17 +08:00
Dogtiti 3935c725c9 feat: sd setting 2024-07-23 22:44:09 +08:00
Dogtiti 908ee0060f chore: remove sd new 2024-07-23 22:23:34 +08:00
Dogtiti 82e6fd7bb5 feat: move sd config to store 2024-07-23 21:43:55 +08:00
Dogtiti 6b98b14179 fix: sd mobile 2024-07-23 20:24:56 +08:00
lloydzhou 1ecefd88f7 hotfix 2024-07-23 17:57:41 +08:00
lloydzhou 2e9e20ce7c auto height for html preview 2024-07-23 17:54:07 +08:00
lloydzhou fb60fbb217 auto height for html preview 2024-07-23 17:51:44 +08:00
lloydzhou 4199e17da0 auto height for html preview 2024-07-23 17:44:15 +08:00
DDMeaqua 86b8bfcb1f feat: update i18n 2024-07-23 15:21:38 +08:00
lloydzhou dfd089132d add preview html code 2024-07-23 14:39:31 +08:00
lloydzhou 3a10f58b28 add preview html code 2024-07-23 14:33:41 +08:00
Dogtiti 9d55adbaf2 refator: sd 2024-07-23 00:51:58 +08:00
Lloyd Zhou 5b126c7e52
Revert "feat: improve components structure" 2024-07-22 22:18:51 +08:00
Lloyd Zhou 1943f3b53f
Merge pull request #5080 from ConnectAI-E/refactor-components
feat: improve components structure
2024-07-22 19:08:02 +08:00
consistent-k dfd2a53129 chore: Remove useless judgment conditions 2024-07-22 08:50:15 +00:00
Mr. Z aa4e855012
Compatibility changes 2024-07-22 16:41:11 +08:00
Dogtiti 038e6df8f0 feat: improve components structure 2024-07-22 16:02:45 +08:00
Mr. Z 2fd68bcac3
Fix defaultModel undefined error 2024-07-21 16:42:34 +08:00
lloydzhou e468fecf12 update 2024-07-20 20:44:19 +08:00
lloydzhou fc31d8e5d1 merge origin/main 2024-07-20 15:15:46 +08:00
lloydzhou ac04a1cac8 resolve conflicts 2024-07-20 14:41:42 +08:00
lloydzhou 87a286ef07 refactor setting page 2024-07-20 14:36:47 +08:00
Dogtiti 622d8a4edb
Merge pull request #5063 from ChenglongWang/summary_model
Change gpt summary model to gpt-4o-mini
2024-07-19 23:53:00 +08:00
Chenglong Wang 0236e13187
Change gpt summary model to gpt-4o-mini. 2024-07-19 23:36:57 +08:00
YeungYeah a3d4a7253f Merge remote-tracking branch 'source/main' 2024-07-19 21:38:25 +08:00
lloydzhou 862c2e8810 hotfix for code review 2024-07-19 17:22:54 +08:00
lloydzhou 052004d70e using compressImage when serviceWorker register error 2024-07-19 16:03:22 +08:00
lloydzhou ac470a6d07 Merge remote-tracking branch 'connectai/feature-cache-storage' into feature-cache-storage 2024-07-19 15:39:51 +08:00
Dogtiti 7237d33be3 fix: ts type 2024-07-19 14:55:47 +08:00
lloydzhou 1610b480af remove console.log 2024-07-19 13:54:33 +08:00
lloydzhou 287fa0a39c feat: 1. using cache storage store image data; 2. get base64image before chat to api #5013 2024-07-19 13:50:10 +08:00
Dogtiti a280e25ee7
Merge pull request #5046 from PeterDaveHello/Add-zh-tw-prompts
Add Traditional Chinese prompts converted from Simplified Chinese version
2024-07-19 10:54:54 +08:00
Dogtiti 8464ca8931
Merge pull request #5045 from ConnectAI-E/fix/google
refactor: google
2024-07-19 10:19:04 +08:00
Peter Dave Hello 9caf820758 Add GPT-4o mini support
Reference:
- https://platform.openai.com/docs/models/gpt-4o-mini
- https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/
2024-07-19 03:21:40 +08:00
YeungYeah 26c2598f56 fix: fix bug in generating wrong gemini request url 2024-07-18 23:41:20 +08:00
Lloyd Zhou ca51c2e93d
Merge pull request #5035 from DDDDD12138/code-cleanup
chore: remove unused imports and correct typos
2024-07-18 21:05:52 +08:00
DDDDD12138 8edc0989e2 chore: remove unused imports and correct typos 2024-07-18 01:51:56 +08:00
Peter Dave Hello 238d3122c4 Add Traditional Chinese prompts converted from Simplified Chinese version 2024-07-17 22:38:43 +08:00
YeungYeah ee22fba448
Merge branch 'main' into main 2024-07-17 22:16:30 +08:00
Dogtiti f8a2a28bff
Merge pull request #5041 from DDMeaqua/feat-scrollbar-css
scrollbar width change
2024-07-17 20:09:43 +08:00
Dogtiti b3cfaf1420 refator: google 2024-07-17 20:05:34 +08:00
consistent-k 9aabc4ad6a update constant for baidu add ernie-tiny model 2024-07-17 10:41:31 +00:00
consistent-k 5dc731bc77 update constant for baidu add ernie-speed model 2024-07-17 09:29:43 +00:00
DDMeaqua 32d05c9855 feat: scrollbar width change 2024-07-17 17:01:50 +08:00
consistent-k 5a0d0c0b75 update constant for baidu add ernie-speed model 2024-07-17 08:54:53 +00:00
lloydzhou 49151dabf5 hotfix 2024-07-16 23:18:34 +08:00
jiangying 47d27c1f41 fix typo 2024-07-16 14:35:06 +08:00
lloydzhou 94bc880b7f fixed typescript error 2024-07-16 01:45:15 +08:00
lloydzhou bab3e0bc9b using CacheStorage to store image #5013 2024-07-16 01:19:40 +08:00
lloydzhou b3a324b6f5 fixed typescript error 2024-07-15 21:21:50 +08:00
lloydzhou a1117cd4ee save blob to indexeddb instead of base64 image string 2024-07-15 20:47:49 +08:00
lloydzhou 6ece818d69 remove no need code 2024-07-15 20:28:55 +08:00
lloydzhou 5df09d5e2a move code to utils/file 2024-07-15 20:26:03 +08:00
lloydzhou 33450ce429 move code to utils/file 2024-07-15 20:09:21 +08:00
lloydzhou e2f0206d88 update using indexdb read sd image data 2024-07-15 19:29:25 +08:00
licoy 3767b2c7f9 test 2024-07-15 15:29:56 +08:00
LiuElric 8e4d26163a
Merge pull request #4989 from ConnectAI-E/hotfix/cf-ai-gateway
update custom bytedance models, and update labels in setting page
2024-07-12 23:10:25 +08:00
lloydzhou 53c1176cbf update labels in setting page 2024-07-12 23:06:37 +08:00
lloydzhou 46d3e7884b hotfix: bytedance custom models 2024-07-12 22:53:39 +08:00
Lloyd Zhou b4ae706914
Merge pull request #4988 from ConnectAI-E/hotfix/cf-ai-gateway
Hotfix: default config
2024-07-12 22:06:02 +08:00
lloydzhou 476bdac717 update 2024-07-12 21:52:38 +08:00
lloydzhou 831627268d update 2024-07-12 21:41:12 +08:00
lloydzhou 9b97dca601 hotfix: custom comfig for Gemini api. #4944 2024-07-12 21:27:30 +08:00
LiuElric 4ea8c0802a
Merge pull request #4986 from ConnectAI-E/hotfix/cf-ai-gateway
hotfix: using custom models, create custom provider
2024-07-12 20:31:22 +08:00
lloydzhou 9203870df5 hotfix: using custom models, create custom provider 2024-07-12 20:19:36 +08:00
Dogtiti e8088d6e38
Merge pull request #4979 from ConnectAI-E/hotfix/cf-ai-gateway
support cloudflare ai gateway
2024-07-12 19:12:45 +08:00
LiuElric 9d1b13ba73
Merge pull request #4933 from PeterDaveHello/locale-tw
Improve tw Traditional Chinese locale
2024-07-12 19:01:05 +08:00
licoy dd1030139b fix: sd image preview modal size 2024-07-12 15:20:09 +08:00
lloydzhou 728c38396a support cloudflare ai gateway 2024-07-12 12:00:25 +08:00
licoy d61cb98ac7 Merge remote-tracking branch 'origin/dev-sd' into dev-sd 2024-07-12 10:33:58 +08:00
licoy a7ceb61e27 pref: remove console 2024-07-12 10:33:43 +08:00
licoy 74b915a790 fix: sd3 model default select 2024-07-12 10:32:06 +08:00
lloydzhou 01ea690421 remove code 2024-07-11 18:35:44 +08:00
lloydzhou 498d0f0b8b merge main 2024-07-11 15:29:47 +08:00
lloydzhou 5e7254e8dc hotfix: doubao display name 2024-07-11 14:46:12 +08:00
Dogtiti f8c2732fdc
Merge pull request #4971 from ConnectAI-E/hotfix/alibaba
change build messages for qwen in client
2024-07-11 10:25:39 +08:00
lloydzhou fec36eb298 hotfix 2024-07-11 10:22:30 +08:00
lloydzhou 2299a4156d change build messages for qwen in client 2024-07-11 00:50:58 +08:00
lloydzhou 32b82b9cb3 change build messages for qwen in client 2024-07-11 00:48:58 +08:00
lloydzhou 6885812d21 hotfix Gemini finish twice. #4955 #4966 2024-07-10 18:59:44 +08:00
Lloyd Zhou 844025ec14
Merge pull request #4942 from ConnectAI-E/feature/alibaba
feat: qwen
2024-07-09 21:51:16 +08:00
lloydzhou 044c16da4c update 2024-07-09 21:17:32 +08:00
lloydzhou cd4784c54a update 2024-07-09 21:14:38 +08:00
lloydzhou e3b3a4fefa add custom settings 2024-07-09 20:09:03 +08:00
lloydzhou 3fcbb3010d Merge branch 'feature/ByteDance' into feature/alibaba 2024-07-09 20:04:53 +08:00
lloydzhou 7573a19dc9 add custom settings 2024-07-09 20:01:58 +08:00
lloydzhou 3628d68d9a update 2024-07-09 19:56:52 +08:00
lloydzhou 23872086fa merge code 2024-07-09 19:37:47 +08:00
lloydzhou bb349a03da fix get headers for bytedance 2024-07-09 19:21:27 +08:00
lloydzhou 82be426f78 fix eslint error 2024-07-09 18:19:34 +08:00
lloydzhou 1149d45589 remove check vision model 2024-07-09 18:06:59 +08:00
lloydzhou 9d7e19cebf display doubao model name when select model 2024-07-09 18:05:23 +08:00
lloydzhou b3023543d6 update 2024-07-09 16:55:33 +08:00
lloydzhou c229d2c3ce merge main 2024-07-09 16:53:15 +08:00
lloydzhou f2a35f1114 add missing file 2024-07-09 16:38:22 +08:00
lloydzhou 147fc9a35a fix ts type error 2024-07-09 15:10:23 +08:00
lloydzhou 93a03f8fe4 Merge remote-tracking branch 'origin/main' into feat-baidu 2024-07-09 15:06:10 +08:00
lloydzhou b14a0f24ae update locales 2024-07-09 14:57:19 +08:00
lloydzhou fadd7f6eb4 try getAccessToken in app, fixbug to fetch in none stream mode 2024-07-09 14:50:40 +08:00
lloydzhou 011b76e4e7 review code 2024-07-09 13:39:39 +08:00
lloydzhou f68cd2c5c0 review code 2024-07-09 12:27:44 +08:00
lloydzhou 6ac9789a1c hotfix 2024-07-09 12:16:37 +08:00
licoy 2b0153807c feat: Add Stability API server relay sending 2024-07-09 09:50:04 +08:00
lloydzhou 71af2628eb hotfix: old AZURE_URL config error: "DeploymentNotFound". #4945 #4930 2024-07-09 00:32:18 +08:00
Dogtiti 9bdd37bb63 feat: qwen 2024-07-07 21:59:56 +08:00
Dogtiti d726c71141 wip: tencent 2024-07-07 14:43:28 +08:00
Dogtiti 1caa61f4c0 feat: swap name and displayName for bytedance in custom models 2024-07-06 22:59:20 +08:00
Dogtiti f3e3f08377 fix: apiClient 2024-07-06 21:25:00 +08:00
Dogtiti 2ec8b7a804 Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-Web into feature/ByteDance 2024-07-06 21:14:07 +08:00
Dogtiti 9f7d137b05 Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-Web into feat-baidu 2024-07-06 21:11:50 +08:00
Lloyd Zhou 7218f13783
Merge pull request #4934 from ConnectAI-E/feature/client-headers
feat: optimize getHeaders
2024-07-06 20:08:16 +08:00
Dogtiti 9b3b4494ba wip: doubao 2024-07-06 14:59:37 +08:00
Dogtiti 785d3748e1 feat: support baidu model 2024-07-06 13:05:09 +08:00
Dogtiti 5e0657ce55 feat: add getClientApi method 2024-07-06 11:27:53 +08:00
Dogtiti 700b06f9c5 feat: optimize getHeaders 2024-07-06 11:16:00 +08:00
Dogtiti b58bbf8eb4 feat: optimize getHeaders 2024-07-06 11:15:06 +08:00
Dogtiti 2d1f522aaf
Merge pull request #4930 from ConnectAI-E/feature-azure
support azure deployment name
2024-07-06 10:50:33 +08:00
Peter Dave Hello 0b2863dfab Improve tw Traditional Chinese locale 2024-07-06 02:36:29 +08:00
Dogtiti 70907ead8a
Merge pull request #4850 from ImBIOS/patch-2
chore(app/layout.tsx): fix deprecated viewport nextjs 14
2024-07-06 00:06:44 +08:00
lloydzhou 6dc4844c12 using default azure api-version value 2024-07-06 00:05:59 +08:00
Dogtiti 14bc1b6aac chore: optimize the code 2024-07-05 23:56:10 +08:00
lloydzhou 183ad2a34b add missing file 2024-07-05 20:57:55 +08:00
lloydzhou d9758be3ae fix ts 2024-07-05 20:20:21 +08:00
lloydzhou 6b1b530443 remove makeAzurePath 2024-07-05 20:15:56 +08:00
lloydzhou 1c20137b0e support azure deployment name 2024-07-05 19:59:45 +08:00
Dogtiti c4a6c933f8
Merge pull request #4923 from ConnectAI-E/refactor-model-table
Refactor model table
2024-07-04 21:04:43 +08:00
lloydzhou 31d9444264 hotfix 2024-07-04 19:38:26 +08:00
Lloyd Zhou 8cb204e22e
refactor: get language (#4922)
* refactor: get language
2024-07-04 17:18:42 +08:00
lloydzhou 97aa72ec5b hotfix ts 2024-07-04 08:36:25 +00:00
lloydzhou a68341eae6 include providerId in fullName 2024-07-04 16:11:37 +08:00
lloydzhou aa08183439 hotfix 2024-07-04 16:03:35 +08:00
lloydzhou 7a5596b909 hotfix 2024-07-04 15:48:48 +08:00
lloydzhou b9ffd50992 using <modelName>@<providerName> as fullName in modelTable 2024-07-04 15:44:36 +08:00
lloydzhou 14f2a8f370 merge model with modelName and providerName 2024-07-04 15:32:08 +08:00
lloydzhou e7b16bfbc0 add function to check model is available 2024-07-04 15:30:24 +08:00
licoy a16725ac17 feat: Improve SD list data and API integration 2024-07-03 15:37:34 +08:00
lloydzhou 1609abd166 fix ts 2024-07-03 14:18:22 +08:00
lloydzhou 88c74ae18d feat: using fetch to get buildin masks 2024-07-03 14:09:55 +08:00
Lloyd Zhou 78e2b41e0c
Merge pull request #4906 from ConnectAI-E/feature-gemini-streaming
gemini using real sse format response #3677 #3688
2024-07-03 10:58:27 +08:00
licoy 54401162bd fix: model version field name 2024-07-02 15:31:30 +08:00
licoy 7fde9327a2 feat: Improve the data input and submission acquisition of SD parameter panel 2024-07-02 15:19:44 +08:00
licoy bbbf59c74a Improve the Stability parameter control panel 2024-07-02 10:24:19 +08:00
lloydzhou c4ad66f745 remove console.log 2024-07-01 13:27:06 +00:00
lloydzhou 69974d5651 gemini using real sse format response #3677 #3688 2024-07-01 13:24:01 +00:00
lloydzhou 37e2517dac fix: 1. anthropic client using common getHeaders; 2. always using `Authorization` header send access code 2024-07-01 10:24:33 +00:00
lloydzhou d65ddead11 fix: anthropic client using common getHeaders 2024-07-01 09:41:01 +00:00
licoy 34034be0e3 hide new chat button on sd page 2024-06-27 16:13:51 +08:00
licoy d21481173e feat: add SD page switching 2024-06-27 16:06:15 +08:00
licoy fa6ebadc7b feat: add plugin entry selection 2024-06-27 15:35:16 +08:00
licoy a51fb24f36 fix ts error 2024-06-27 15:13:45 +08:00
Fred 9fb8fbcc65
fix: validate the url to avoid SSRF 2024-06-24 14:31:50 +08:00
hengstchon 4640060891 feat: support model: claude-3-5-sonnet-20240620 2024-06-21 12:28:17 +02:00
Imamuzzaki Abu Salam 6efe4fb734
chore(app/layout.tsx): fix deprecated viewport nextjs 14 2024-06-16 10:17:58 +07:00
YeungYeah 74986803db feat: add google api safety setting 2024-06-15 12:09:58 +08:00
YeungYeah 24bf7950d8 chore: set the google safety setting to lowest 2024-06-12 21:59:28 +08:00
junxian li-ssslab win10 1d8fd480ca Add new Teracloud domain
- Added 'bora.teracloud.jp' to the list of supported domains.
2024-06-07 03:28:00 +08:00
DeanYao d89a12aa05
Revert "Chat gpt" 2024-05-20 19:02:46 +08:00
Kivi1998 7f3516f44f
Merge branch 'main' into chatGPT 2024-05-16 15:14:43 +08:00
Hao Jia bfdb47a7ed ChatGPT Logo 2024-05-16 15:03:14 +08:00
Hao Jia 01c9dbc1fd Merge remote-tracking branch 'origin/main' into gpt-4o
# Conflicts:
#	public/apple-touch-icon.png
2024-05-16 14:43:10 +08:00
Dean-YZG 0aa807df19 feat: remove empty memoryPrompt in ChatMessages 2024-05-16 14:41:18 +08:00
fred-bf 48d44ece58
Merge branch 'main' into chore-fix 2024-05-16 14:13:28 +08:00
Leo Li 8688842984
gpt-4o as vision model
https://platform.openai.com/docs/guides/vision
2024-05-15 17:53:27 -04:00
fred-bf 0eccb547b5
Merge branch 'main' into feat/gemini-flash 2024-05-15 15:44:35 +08:00
Fred 4789a7f6a9
feat: add gemini flash into vision model list 2024-05-15 15:42:06 +08:00
fred-bf 0bf758afd4
Merge pull request #4702 from ChatGPTNextWeb/feat/gemini-flash
feat: support gemini flash
2024-05-15 15:30:23 +08:00
Fred 6612550c06
feat: support gemini flash 2024-05-15 15:29:38 +08:00
fred-bf 5df8b1d183
fix: revert gpt-4-turbo-preview detection 2024-05-14 14:32:34 +08:00
Leo Li ef5f910f19
support gpt-4o 2024-05-13 17:28:13 -04:00
Dean-YZG fffbee80e8 Merge remote-tracking branch 'origin/main' into chore-fix 2024-05-13 17:58:28 +08:00
Dean-YZG 9d7ce207b6 feat: support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs 2024-05-13 17:11:35 +08:00
Dean-YZG 2d1f0c9f57 feat: support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs 2024-05-13 17:11:11 +08:00
Dmitry Sandalov d3131d2f55
Fix typo for "OpenAI Endpoint" in the en locale 2024-05-13 10:39:49 +02:00
Dean-YZG c10447df79 feat: 1)upload image with type 'heic' 2)change the empty message to ';' for models 3) 2024-05-13 16:24:15 +08:00
DeanYao 212ae76d76
Merge pull request #4610 from rooben-me/fix-sync
Fix Sync Issue with Upstash
2024-05-13 11:28:29 +08:00
Dean-YZG 864529cbf6 feat: googleApiKey & anthropicApiKey support setting multi-key 2024-05-06 21:14:53 +08:00
Dean-YZG a1493bfb4e feat: bugfix 2024-05-06 20:46:53 +08:00
butterfly b3e856df1d feat: fix 1)the property named 'role' of the first message must be 'user' 2)if default summarize model 'gpt-3.5-turbo' is blocked, use currentModel instead 3)if apiurl&apikey set by location, useCustomConfig would be opened 2024-05-06 19:26:39 +08:00
ruban 8ef2617eec
Removed spaces 2024-05-02 23:24:41 -07:00
ruban 1da7d81122
Fix cloud data sync issue with Upstash (#4563) 2024-05-02 23:22:32 -07:00
ruban a103582346
fix 2024-05-02 23:10:10 -07:00
ruban 7b61d05e88
new fix 2024-05-02 23:08:17 -07:00
ruban 6fc7c50f19
this 2024-05-02 22:55:41 -07:00
ruban 9d728ec3c5
this is ti 2024-05-02 22:50:35 -07:00
ruban 9cd3358e4e
this is the fix 2024-05-02 22:40:52 -07:00
ruban 4cd94370e8 fix i think 2024-05-03 05:25:11 +00:00
DeanYao 506c17a093
Merge pull request #4564 from MrrDrr/gpt4v_remove_max_tokens
remove max_tokens from the official version of gpt4-turbo
2024-04-25 13:01:21 +08:00
DeanYao 69642fba52
Merge pull request #4557 from RoyRao2333/dev/no-fucos-outline
chore: No outline when element is in `:focus-visible` state
2024-04-25 12:58:19 +08:00
DeanYao 7d647c981f
Merge pull request #4535 from RubuJam/main
Refer to OpenAI documentation to delete some models.
2024-04-25 11:44:01 +08:00
l.tingting dd4648ed9a remove max_tokens from the official version of gpt4-turbo 2024-04-24 22:59:14 +08:00
Roy 1cd0beb231 chore: No outline when element is in `:focus-visible` state 2024-04-23 11:48:54 +08:00
Wayland Zhan c96e4b7966 feat: Support a way to define default model by adding DEFAULT_MODEL env. 2024-04-19 06:57:15 +00:00
黑云白土 b7aab3c102
Update google.ts 2024-04-17 17:16:31 +08:00
黑云白土 fcb1a657e3
Update constant.ts 2024-04-17 16:24:11 +08:00
DeanYao 9b2cb1e1c3
Merge pull request #4525 from ChatGPTNextWeb/chore-fix
Chore fix
2024-04-16 14:59:22 +08:00
butterfly fb8b8d28da feat: (1) fix issues/4335 and issues/4518 2024-04-16 14:50:48 +08:00
Algorithm5838 9564b261d5 Update constant.ts 2024-04-15 13:14:14 +03:00
DeanYao 1e2a662fa6
Merge pull request #4412 from RubuJam/main
Gemini will generate the request address based on the selected model name and supports Gemini 1.5 Pro (gemini-1.5-pro-latest).
2024-04-15 11:44:53 +08:00
DeanYao 51f7daaeaf
Merge pull request #4514 from SukkaW/fix-ls-performance
perf: avoid read localStorage on every render
2024-04-15 10:11:03 +08:00
DeanYao f742a7ec4e
Merge pull request #4510 from MrrDrr/add_timezone_in_system_prompts
add timezone in system prompts
2024-04-15 10:09:53 +08:00
DeanYao e2c0d2a07b
Merge pull request #4509 from MrrDrr/add_knowledge_cutoff
add knowledge cutoff date for gpt-4-turbo-2024-04-09
2024-04-15 10:02:41 +08:00
DeanYao d112dc41b2
Merge pull request #4500 from PeterDaveHello/locale-tw-cht
Improve tw Traditional Chinese locale
2024-04-15 09:47:36 +08:00
SukkaW 2322851ac4 perf: avoid read localStorage on every render 2024-04-14 17:38:54 +08:00
l.tingting aa084ea09a add timezone in system prompts 2024-04-12 23:07:29 +08:00
l.tingting 6520f9b7eb add knowledge cutoff date for gpt-4-turbo-2024-04-09 2024-04-12 22:44:26 +08:00
butterfly fd8d0a1746 feat: fix the logtics of client joining webdav url 2024-04-12 14:20:15 +08:00
DeanYao af3ebacee6
Merge pull request #4507 from ChatGPTNextWeb/chore-fix
feat: fix codes of joining webdav url in client & webdav proxy
2024-04-12 14:07:24 +08:00
butterfly 55d7014301 feat: fix the logtics of client joining webdav url 2024-04-12 14:02:05 +08:00
butterfly b72d7fbeda feat: fix webdav 逻辑2 2024-04-12 13:46:37 +08:00
butterfly ee15c14049 feat: fix webdav 逻辑 2024-04-12 13:40:37 +08:00
Peter Dave Hello 1756bdd033 Improve tw Traditional Chinese locale 2024-04-12 00:18:15 +08:00
黑云白土 0cffaf8dc5
Merge branch 'main' into main 2024-04-11 10:30:05 +08:00
黑云白土 5dc5bfb797
Merge branch 'main' into main 2024-04-11 01:24:34 +08:00
Leo Li f101ee3c4f
support new vision models 2024-04-10 05:33:54 -04:00
Leo Li 6319f41b2c
add new turbo 2024-04-10 05:18:39 -04:00
DeanYao 67acc38a1f
Merge pull request #4480 from ChatGPTNextWeb/chore-fix
feat: Solve the problem of using openai interface protocol for user-d…
2024-04-10 09:26:21 +08:00
DeanYao dd1d8509f0
Merge pull request #4476 from dlb-data/dlb-data-patch-1
Update layout.tsx
2024-04-10 09:13:22 +08:00
butterfly 79f342439a feat: Solve the problem of using openai interface protocol for user-defined claude model & add some famous webdav endpoints 2024-04-09 20:49:51 +08:00
butterfly df3313971d feat: Optimize code 2024-04-09 18:24:22 +08:00
butterfly b175132854 feat: Optimize var names 2024-04-09 18:23:52 +08:00
butterfly 8b191bd2f7 feat: white webdav server domain 2024-04-09 18:05:56 +08:00
dlb-data 598468c2b7
Update layout.tsx 2024-04-09 16:34:21 +08:00
dlb-data 84681d3878
Update layout.tsx 2024-04-09 16:24:03 +08:00
butterfly d508127452 feat: fix system prompt 2024-04-09 10:45:09 +08:00
butterfly 6cb296f952 feat: remove debug code 2024-04-09 09:12:18 +08:00
butterfly 02b0e79ba3 feat: modify some propmt in DEFAULT_INPUT_TEMPLATE about expressing latex 2024-04-08 19:27:22 +08:00
butterfly 9b982b408d feat: fix no max_tokens in payload when calling openai vision model 2024-04-08 18:29:08 +08:00
butterfly 264da6798c feat: remove duplicate Input Template 2024-04-08 18:06:17 +08:00
butterfly 63f9063255 feat: call claude api not in credential 'include' mode 2024-04-08 15:33:27 +08:00
butterfly 6dad353e1c feat: call claude api not in credential 'include' mode 2024-04-08 15:33:02 +08:00
butterfly 5446d8d4a2 feat: fix illegal exports in app/api/anthropic/[...path]/route.ts 2024-04-08 13:59:55 +08:00
butterfly ef7617d545 feat: configs about app client 2024-04-08 13:41:02 +08:00
butterfly 0fbb560e90 feat: delete returned models in modals function of ClaudeApi instance 2024-04-07 20:05:19 +08:00
butterfly 86b5c55855 feat: roles must alternate between user and assistant in claude, so add a fake assistant message between two user messages 2024-04-07 18:02:31 +08:00
butterfly 768decde93 feat: parse response message 2024-04-07 15:20:27 +08:00
butterfly 3cb4315193 feat: clean codes 2024-04-07 11:50:25 +08:00
butterfly 69b079c86e feat: dev done 2024-04-07 11:32:57 +08:00
butterfly 15e595837b feat: settings command dev done 2024-04-02 14:21:49 +08:00
黑云白土 4d0c77b973
更新 constant.ts 2024-03-28 21:42:45 +08:00
黑云白土 f8b180ac44
Update google.ts 2024-03-28 15:52:38 +08:00
黑云白土 cd30368da9
Update constant.ts 2024-03-28 15:51:06 +08:00
黑云白土 27ed57a648
Update utils.ts 2024-03-28 15:49:49 +08:00
DeanYao e38b527ac2
Merge pull request #3205 from H0llyW00dzZ/summarizelogic
Refactor Summarize Logic
2024-03-28 15:19:32 +08:00
DeanYao 6b3daec23f
Merge pull request #3314 from H0llyW00dzZ/text-moderation-azure
Feat ChatGPT LLM Api [Console Log] [Text Moderation] [Azure]
2024-03-28 13:38:56 +08:00
DeanYao e056a1d46d
Merge pull request #3405 from Yuliang-Lee/fix/MessageSelectorWarning
fix: MessageSelectorWarning
2024-03-28 11:38:45 +08:00
DeanYao 8ef77f50c3
Merge branch 'main' into serverrside 2024-03-28 11:20:52 +08:00
DeanYao c93b36fe79
Merge pull request #3508 from reece00/Mask-language
The language filtering option of the mask is stored
2024-03-27 19:58:30 +08:00
DeanYao 0de9242a26
Merge pull request #3529 from erich2s/chat-item-selected-border
fix(chat-item): selected ChatItem showing border in other pages
2024-03-27 19:00:16 +08:00
DeanYao afaa529ba6
Merge pull request #3870 from Dup4/fix-webdav-check
fix: webdav check httpcode list
2024-03-27 14:04:15 +08:00
butterfly 4d6b981a54 bugfix: Delete the escapeDollarNumber function, which causes errors in rendering a latex string 2024-03-26 11:43:55 +08:00
DeanYao a4e4286e04
Merge pull request #4186 from MrrDrr/formula_rendering
support \(...\) and \[...\] style math formula
2024-03-25 19:55:57 +08:00
fred-bf f1b4c083a4
Merge pull request #4379 from EasonQwQ/main
Fix: Handle empty server response in API call
2024-03-24 14:18:14 +08:00
fred-bf e8d76a513d
patch: disable webdav redirect 2024-03-24 14:15:04 +08:00
kidv 29e03b88c7 Fix: Handle empty server response in API call 2024-03-24 04:07:25 +08:00
Kivi1998 5bf402710f
Merge branch 'main' into main 2024-03-21 11:56:09 +08:00
H0llyW00dzZ c0c54e5709
Fix Webdav Syncing Issues
- [+] feat(route.ts): add endpoint validation and improve error handling
- [+] refactor(route.ts): use targetPath for request validation and error messages
- [+] fix(route.ts): correct targetUrl formation
2024-03-20 01:40:41 +07:00
fred-bf 3ba984d09e
Merge pull request #4306 from H0llyW00dzZ/simplify-cherry-pick
[Cherry Pick] Improve [Utils] Check Vision Model
2024-03-19 17:45:57 +08:00
Raax 028957fcdc Fix "Enter" bug
Fix Chinese input method "Enter" on Safari
2024-03-16 21:55:16 +08:00
H0llyW00dzZ a4c54cae60
Improve [Utils] Check Vision Model
- [+] refactor(utils.ts): improve isVisionModel function to use array.some instead of model.includes
2024-03-15 09:38:42 +07:00
Hao Jia 754303e7c7 v0.0.0 2024-03-14 16:36:32 +08:00
Fred 066ca9e552
fix: auto migrate proxy config 2024-03-14 03:03:46 +08:00
Fred 99aa064319
fix: fix webdav sync issue 2024-03-14 01:58:25 +08:00
Fred 6aaf83f3c2
fix: fix upstash sync issue 2024-03-14 01:56:36 +08:00
Fred 133ce39a13
chore: update cors default path 2024-03-14 01:33:41 +08:00
Fred 8645214654
fix: change matching pattern 2024-03-14 01:26:13 +08:00
Fred eebc334e02
fix: remove corsFetch 2024-03-14 00:57:54 +08:00
Fred 038fa3b301
fix: add webdav request filter 2024-03-14 00:33:26 +08:00
Fred 9a8497299d
fix: adjust upstash api 2024-03-13 23:58:28 +08:00
fred-bf a15c4d9c20
Merge pull request #4234 from fengzai6/main
Fix EmojiPicker mobile width adaptation and update avatar clicking behavior
2024-03-11 13:59:09 +08:00
fred-bf 2bf6111bf5
Merge branch 'main' into fix-export-garbled 2024-03-07 17:07:08 +08:00
fengzai6 ad10a11903 Add z-index to avatar 2024-03-07 15:51:58 +08:00
fengzai6 c22153a4eb Revert "fix: No history message attached when for gemini-pro-vision"
This reverts commit c197962851.
2024-03-07 15:46:13 +08:00
fengzai6 5348d57057 Fix EmojiPicker mobile width adaptation and update avatar clicking behavior 2024-03-07 15:36:19 +08:00
fengzai6 052524dabd Merge remote-tracking branch 'upstream/main' 2024-03-07 15:32:09 +08:00
fred-bf e71094d4a8
chore: update GTM_ID definition, close #4217 2024-03-05 17:36:52 +08:00
aliceric27 e1066434d0 fix some text 2024-03-03 00:23:00 +08:00
aliceric27 86ae4b2a75 slightly polishes the tw text. 2024-03-02 23:58:23 +08:00
l.tingting 524c9beee4 support \(...\) and \[...\] style math formula 2024-03-02 11:08:34 +08:00