Dogtiti
0b758941a4
feat: clear indexDB
2024-08-26 21:23:21 +08:00
Dogtiti
4060e367ad
feat: add indexDB
2024-08-26 21:13:35 +08: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
Dogtiti
a6b7432358
Merge pull request #5180 from frostime/contrib-modellist
...
✨ feat: 调整模型列表,将自定义模型放在前面显示
2024-08-05 20:49:07 +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
lloydzhou
1610675c8f
remove hash.js
2024-08-05 11:36:35 +08:00
frostime
8a4b8a84d6
✨ feat: 调整模型列表,将自定义模型放在前面显示
2024-08-03 17:16:05 +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
lloydzhou
753bf3b924
hotfix for cf deploy error #5168
2024-08-02 15:55:26 +08:00
lloydzhou
c359b92ddc
update
2024-08-01 18:58:07 +08:00
lloydzhou
e1d6131f13
update
2024-08-01 16:49:55 +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
Mr. Z
5c04d3c5ea
Change method
2024-07-25 17:59:15 +08:00
Mr. Z
aa4e855012
Compatibility changes
2024-07-22 16:41:11 +08:00
Mr. Z
2fd68bcac3
Fix defaultModel undefined error
2024-07-21 16:42:34 +08:00
lloydzhou
fc31d8e5d1
merge origin/main
2024-07-20 15:15:46 +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
Dogtiti
7237d33be3
fix: ts type
2024-07-19 14:55:47 +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
DDDDD12138
8edc0989e2
chore: remove unused imports and correct typos
2024-07-18 01:51:56 +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
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
46d3e7884b
hotfix: bytedance custom models
2024-07-12 22:53:39 +08:00
lloydzhou
9203870df5
hotfix: using custom models, create custom provider
2024-07-12 20:19:36 +08:00
lloydzhou
728c38396a
support cloudflare ai gateway
2024-07-12 12:00:25 +08:00
lloydzhou
5e7254e8dc
hotfix: doubao display name
2024-07-11 14:46:12 +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
71af2628eb
hotfix: old AZURE_URL config error: "DeploymentNotFound". #4945 #4930
2024-07-09 00:32:18 +08:00
Dogtiti
1caa61f4c0
feat: swap name and displayName for bytedance in custom models
2024-07-06 22:59:20 +08:00
lloydzhou
1c20137b0e
support azure deployment name
2024-07-05 19:59:45 +08:00
lloydzhou
31d9444264
hotfix
2024-07-04 19:38:26 +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
b9ffd50992
using <modelName>@<providerName> as fullName in modelTable
2024-07-04 15:44:36 +08:00
lloydzhou
e7b16bfbc0
add function to check model is available
2024-07-04 15:30:24 +08: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
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
Wayland Zhan
c96e4b7966
feat: Support a way to define default model by adding DEFAULT_MODEL env.
2024-04-19 06:57:15 +00:00
butterfly
fb8b8d28da
feat: (1) fix issues/4335 and issues/4518
2024-04-16 14:50:48 +08:00
butterfly
fd8d0a1746
feat: fix the logtics of client joining webdav url
2024-04-12 14:20:15 +08:00
butterfly
55d7014301
feat: fix the logtics of client joining webdav url
2024-04-12 14:02:05 +08:00
butterfly
ee15c14049
feat: fix webdav 逻辑
2024-04-12 13:40:37 +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
69b079c86e
feat: dev done
2024-04-07 11:32:57 +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
Fred
066ca9e552
fix: auto migrate proxy config
2024-03-14 03:03:46 +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
bca74241e6
fix: fix gemini issue when using app ( #4013 )
...
* chore: update path
* fix: fix google auth logic
* fix: not using header authorization for google api
* chore: revert to allow stream
2024-02-07 13:17:11 +08:00
Dup4
86f42d56f2
fix: webdav check httpcode list
...
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-01-18 09:11:13 +08: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
Fred Liang
45798f993d
fix: fix type errors
2023-12-24 02:39:13 +08:00
Fred Liang
778e88cb56
chore: resolve conflict
2023-12-24 02:15:30 +08:00
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
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
Yidadaa
cb140e482f
fix : #3207 ensure corner case
2023-11-10 15:15:43 +08:00
Yidadaa
b7ffca031e
feat: close #935 add azure support
2023-11-10 02:43:37 +08:00
Yidadaa
d93f05f511
feat: close #3187 use CUSTOM_MODELS to control model list
2023-11-09 03:01:29 +08:00
Yidadaa
5610f423d0
feat: add multi-model support
2023-10-30 02:07:11 +08:00
Yifei Zhang
23eb7732d7
feat: support more http status check for webdav
2023-09-20 17:47:35 +08:00
Yidadaa
83fed42997
feat: add upstash redis cloud sync
2023-09-19 03:18:34 +08:00
Yidadaa
adb860b464
fix : #2820 try to fix 520 error code
2023-09-19 02:12:43 +08:00
Yidadaa
6f83fbd212
feat: add webdav support
2023-09-13 02:51:02 +08:00
Yidadaa
38f6956e71
feat: close #2754 add import/export to file
2023-09-11 00:20:23 +08:00
B0zal
22a6819f7b
Security Update
...
[+] Protect Prototype
2023-08-26 22:16:29 +07:00
Yidadaa
76fdd047e7
feat: new token count function
2023-06-15 00:14:38 +08:00
ShengYan, Zhang
6bbdaf7ab0
fix: the display format of json
2023-05-31 19:39:39 +08:00
gtoxlili
ed14a0029a
fix : issues #1732
2023-05-24 21:08:32 +08:00
Yidadaa
af497c96ec
fix : #1612 infinite loading
2023-05-20 19:58:12 +08:00
Yidadaa
50cfbaaab5
feat: partial locale type
2023-05-19 00:59:04 +08:00
Yidadaa
a3de277c43
refactor: #1000 #1179 api layer for client-side only mode and local models
2023-05-15 01:33:46 +08:00