glay
3bf55d3530
Merge branch 'main' into main
2024-11-06 10:52:34 +08:00
glay
c55cea5853
修改: app/store/access.ts
2024-11-06 09:09:49 +08:00
glay
cae20af24d
修改: app/api/bedrock.ts
...
修改: app/client/api.ts
修改: app/store/access.ts
新文件: app/utils/encryption.ts
修改: package.json
2024-11-06 00:21:30 +08:00
ryanhex53
8e2484fcdf
Refactor: Replace all provider split occurrences with getModelProvider utility method
2024-11-05 13:52:54 +00:00
glay
1164e1bdf6
Merge feature/update-bedrock-api into main
2024-11-05 20:04:36 +08:00
ryanhex53
b844045d23
Custom model names can include the @
symbol by itself.
...
To specify the model's provider, append it after the model name using `@` as before.
This format supports cases like `google vertex ai` with a model name like `claude-3-5-sonnet@20240620`.
For instance, `claude-3-5-sonnet@20240620@vertex-ai` will be split by `split(/@(?!.*@)/)` into:
`[ 'claude-3-5-sonnet@20240620', 'vertex-ai' ]`, where the former is the model name and the latter is the custom provider.
2024-11-05 07:44:12 +00:00
glay
afbf5eb541
修改: .env.template
...
修改: app/api/auth.ts
修改: app/api/bedrock.ts
修改: app/client/api.ts
修改: app/client/platforms/bedrock.ts
修改: app/components/settings.tsx
修改: app/config/server.ts
修改: app/constant.t
2024-11-05 14:27:52 +08:00
DDMeaqua
afe12c212e
chore: update
2024-11-01 13:53:43 +08:00
DDMeaqua
d357b45e84
feat: [ #5714 ] 支持GLM
2024-10-30 19:24:03 +08:00
glay
ff356f0c8c
修改: app/api/[provider]/[...path]/route.ts
...
修改: app/api/auth.ts
新文件: app/api/bedrock.ts
新文件: app/api/bedrock/models.ts
新文件: app/api/bedrock/utils.ts
修改: app/client/api.ts
新文件: app/client/platforms/bedrock.ts
修改: app/components/settings.tsx
修改: app/config/server.ts
修改: app/constant.ts
修改: app/locales/cn.ts
修改: app/locales/en.ts
修改: app/store/access.ts
修改: app/utils.ts
修改: package.json
2024-10-29 22:20:26 +08:00
lloydzhou
e791cd441d
add xai
2024-10-23 11:55:25 +08:00
lloydzhou
8455fefc8a
add xai
2024-10-23 11:40:06 +08:00
lloydzhou
6293b95a3b
update default api base url
2024-09-30 10:13:11 +08:00
lloydzhou
a50c282d01
remove DEFAULT_API_HOST
2024-09-30 01:19:20 +08:00
Dogtiti
c6ebd6e73c
fix: default model
2024-09-27 17:00:24 +08:00
Dogtiti
a8c70d84a9
Merge pull request #5459 from DDMeaqua/tts
...
add tts
2024-09-18 15:42:16 +08:00
skymkmk
36a0c7b8a3
fix: default is forced to set gpt-3.5-turbo if no server default model have been set
2024-09-16 02:07:22 +08:00
DDMeaqua
2f410fc09f
feat: add tts stt
2024-08-27 16:21:02 +08:00
zhangjian10
1102ef6e6b
fix: Determine if Tencent is authorized
2024-08-18 23:47:23 +08:00
webws
b2c1644d69
feat: add support for iFLYTEK Spark API (接入讯飞星火模型)
2024-08-06 17:54:30 +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
40cbabc330
add moonshot api
2024-08-01 11:55:22 +08:00
lloydzhou
8f6e5d73a2
hotfix: can send sd task in client
2024-07-25 12:31:30 +08:00
Dogtiti
3935c725c9
feat: sd setting
2024-07-23 22:44:09 +08:00
YeungYeah
ee22fba448
Merge branch 'main' into main
2024-07-17 22:16:30 +08:00
lloydzhou
476bdac717
update
2024-07-12 21:52:38 +08:00
lloydzhou
9b97dca601
hotfix: custom comfig for Gemini api. #4944
2024-07-12 21:27:30 +08:00
lloydzhou
23872086fa
merge code
2024-07-09 19:37:47 +08:00
lloydzhou
c229d2c3ce
merge main
2024-07-09 16:53:15 +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
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
lloydzhou
1c20137b0e
support azure deployment name
2024-07-05 19:59:45 +08:00
YeungYeah
74986803db
feat: add google api safety setting
2024-06-15 12:09:58 +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
69b079c86e
feat: dev done
2024-04-07 11:32:57 +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
Fred Liang
778e88cb56
chore: resolve conflict
2023-12-24 02:15:30 +08:00
Yifei Zhang
d033168d80
fix : #3241 should not ensure openai url non-empty
2023-11-13 10:53:30 +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
c5ca278253
feat: close #2908 allow to disable parse settings from link
2023-11-08 00:30:02 +08:00
Yidadaa
cdf0311d27
feat: add claude and bard
2023-11-07 23:22:11 +08:00
Yidadaa
5610f423d0
feat: add multi-model support
2023-10-30 02:07:11 +08:00
Yidadaa
38f6956e71
feat: close #2754 add import/export to file
2023-09-11 00:20:23 +08:00
liuweijie
322eb66fdf
fix: useAccessStore filter spaces
2023-07-18 19:38:16 +08:00
Yidadaa
15e063e1b5
feat: #2330 disable /list/models
2023-07-10 23:19:43 +08:00