SIGN IN SIGN UP
ChatGPTNextWeb / NextChat UNCLAIMED

✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows

0 0 36 TypeScript

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.
R
ryanhex53 committed
b844045d231658b9e40fa0582936c6746e7a7ef4
Parent: 14f7519