Commit Graph

1405 Commits

Author SHA1 Message Date
GH Action - Upstream Sync 7deb36ee1f Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2024-08-06 01:33:38 +00:00
GH Action - Upstream Sync bfe4e88246 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2024-08-06 01:00:29 +00:00
HyiKi 9ab45c3969 fix: baidu error_code 336006
change the summary role from system to user
2024-08-05 20:50:36 +08:00
Dogtiti fec80c6c51
Merge pull request #5173 from ConnectAI-E/feature/dalle
add dalle3 model
2024-08-05 20:49:37 +08:00
Dogtiti a6b7432358
Merge pull request #5180 from frostime/contrib-modellist
 feat: 调整模型列表,将自定义模型放在前面显示
2024-08-05 20:49:07 +08:00
frostime 3486954e07 🐛 fix(openai): 上次 commit 后 openai.ts 文件中出现类型不匹配的 bug 2024-08-05 20:26:48 +08:00
frostime 150fc84b9b feat(model): 增加 sorted 字段,并使用该字段对模型列表进行排序
1. 在 Model 和 Provider 类型中增加 sorted 字段(api.ts)
2. 默认模型在初始化的时候,自动设置默认 sorted 字段,从 1000 开始自增长(constant.ts)
3. 自定义模型更新的时候,自动分配 sorted 字段(model.ts)
2024-08-05 19:43:32 +08:00
frostime b023a00445 🔨 refactor(model): 更改原先的实现方法,在 collect table 函数后面增加额外的 sort 处理 2024-08-05 16:37:22 +08:00
HyiKi d0e296adf8 fix: baidu error_code 336006 2024-08-05 15:41:13 +08:00
lloydzhou 141ce2c99a reduce cloudflare functions build size 2024-08-05 12:59:27 +08:00
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