ChatGPT-Next-Web/app/api
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
..
[provider]/[...path] chore: update 2024-11-01 13:53:43 +08:00
artifacts chore: artifact => artifacts 2024-07-26 15:50:26 +08:00
config feat: Support a way to define default model by adding DEFAULT_MODEL env. 2024-04-19 06:57:15 +00:00
tencent chore: remove unused imports 2024-09-15 20:17:02 +08:00
upstash/[action]/[...key] fix: fix upstash sync issue 2024-03-14 01:56:36 +08:00
webdav/[...path] 修正了typo, WebDev -> WebDav 2024-09-19 14:15:31 +08:00
alibaba.ts chore: remove unused imports 2024-09-15 20:17:02 +08:00
anthropic.ts Merge pull request #5112 from DDDDD12138/remove-unused-imports 2024-09-18 11:37:47 +08:00
auth.ts chore: update 2024-11-01 13:53:43 +08:00
azure.ts chore: remove unused imports 2024-09-15 20:17:02 +08:00
baidu.ts chore: remove unused imports 2024-09-15 20:17:02 +08:00
bytedance.ts reduce cloudflare functions build size 2024-08-05 12:59:27 +08:00
common.ts Custom model names can include the @ symbol by itself. 2024-11-05 07:44:12 +00:00
glm.ts fix: ts error 2024-11-01 14:15:12 +08:00
google.ts hotfix for x-goog-api-key 2024-09-29 15:51:28 +08:00
iflytek.ts chore: remove unused imports 2024-09-15 20:17:02 +08:00
moonshot.ts chore: remove unused imports 2024-09-15 20:17:02 +08:00
openai.ts fix: correct typo in variable name from ALLOWD_PATH to ALLOWED_PATH 2024-10-07 10:30:25 +08:00
proxy.ts plugin add auth config 2024-09-02 18:11:19 +08:00
stability.ts reduce cloudflare functions build size 2024-08-05 12:59:27 +08:00
xai.ts add xai 2024-10-23 11:40:06 +08:00