ryanhex53
8e2484fcdf
Refactor: Replace all provider split occurrences with getModelProvider utility method
2024-11-05 13:52:54 +00: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
DDMeaqua
4d75b23ed1
fix: ts error
2024-11-01 14:15:12 +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
lloydzhou
e791cd441d
add xai
2024-10-23 11:55:25 +08:00
lloydzhou
8455fefc8a
add xai
2024-10-23 11:40:06 +08:00
little_huang
cd75461f9e
fix: correct typo in variable name from ALLOWD_PATH to ALLOWED_PATH
2024-10-07 10:30:25 +08:00
lloydzhou
5bdf411399
hotfix for `x-goog-api-key`
2024-09-29 15:51:28 +08:00
Dogtiti
3fb389551b
fix: build error
2024-09-27 11:42:16 +08:00
lloydzhou
702e17c96b
google api using `x-google-api-key` header
2024-09-26 23:21:42 +08:00
Yudong
df222ded12
修正了typo, WebDev -> WebDav
2024-09-19 14:15:31 +08:00
Dogtiti
b4dc4d34eb
Merge pull request #5112 from DDDDD12138/remove-unused-imports
...
Chore: Remove Unused Imports and Add ESLint Rules
2024-09-18 11:37:47 +08:00
DDDDD12138
63ffd473d5
chore: remove unused imports
2024-09-15 20:17:02 +08:00
Meaqua
8ac9141a29
fix: ts error
2024-09-15 14:21:27 +08:00
DDMeaqua
9a5a3d4ce4
fix : #5429 Anthropic authentication_error CORS
2024-09-14 16:06:18 +08:00
l.tingting
c1b74201e4
add chatgpt-4o-latest
2024-09-07 01:42:56 +08:00
lloydzhou
236736deea
remove no need code
2024-09-03 15:37:23 +08:00
lloydzhou
801b62543a
claude support function call
2024-09-02 21:45:47 +08:00
lloydzhou
f652f73260
plugin add auth config
2024-09-02 18:11:19 +08:00
lloydzhou
f5209fc344
stash code
2024-08-28 23:58:46 +08:00
lzz
42fdbd9bb8
Fix spelling errors
2024-08-07 17:22:32 +08:00
lyf
af21c57e77
ban gpt4
2024-08-07 10:15:39 +08:00
Dogtiti
9bbb4f396b
Merge pull request #5181 from webws/feature/support-iflytek-spark
...
Feature/support iflytek spark
2024-08-06 19:32:43 +08:00
webws
b2c1644d69
feat: add support for iFLYTEK Spark API (接入讯飞星火模型)
2024-08-06 17:54:30 +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
lloydzhou
141ce2c99a
reduce cloudflare functions build size
2024-08-05 12:59:27 +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
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
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
6737f016f5
chore: artifact => artifacts
2024-07-26 15:50:26 +08:00
lloydzhou
5ec0311f84
fix typescript error
2024-07-25 19:38:18 +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
lloydzhou
d8afd1af88
add expiration_ttl for kv storage
2024-07-25 16:56:08 +08:00
lloydzhou
ab9f5382b2
fix typescript
2024-07-24 20:51:33 +08:00
lloydzhou
421bf33c0e
save artifact content to cloudflare workers kv
2024-07-24 20:02:37 +08:00
lloydzhou
fc31d8e5d1
merge origin/main
2024-07-20 15:15:46 +08:00
Dogtiti
b3cfaf1420
refator: google
2024-07-17 20:05:34 +08:00
lloydzhou
728c38396a
support cloudflare ai gateway
2024-07-12 12:00:25 +08:00
lloydzhou
498d0f0b8b
merge main
2024-07-11 15:29:47 +08:00
lloydzhou
fec36eb298
hotfix
2024-07-11 10:22:30 +08:00
lloydzhou
32b82b9cb3
change build messages for qwen in client
2024-07-11 00:48:58 +08:00
lloydzhou
3628d68d9a
update
2024-07-09 19:56:52 +08:00