Download client/src/components/Input/ModelSelect/options.ts from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 788 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Input/ModelSelect/options.ts
- Command line
-
hf download hf://spaces/Zhitomir/chat/client/src/components/Input/ModelSelect/options.ts
-
curl -L -o options.ts https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Input/ModelSelect/options.ts
788 Bytes
| import { EModelEndpoint } from 'librechat-data-provider'; | |
| import type { TModelSelectProps } from '~/common'; | |
| import type { FC } from 'react'; | |
| import OpenAI from './OpenAI'; | |
| import BingAI from './BingAI'; | |
| import Google from './Google'; | |
| import ChatGPT from './ChatGPT'; | |
| import Anthropic from './Anthropic'; | |
| import PluginsByIndex from './PluginsByIndex'; | |
| export const options: { [key: string]: FC<TModelSelectProps> } = { | |
| [EModelEndpoint.openAI]: OpenAI, | |
| [EModelEndpoint.custom]: OpenAI, | |
| [EModelEndpoint.azureOpenAI]: OpenAI, | |
| [EModelEndpoint.bingAI]: BingAI, | |
| [EModelEndpoint.google]: Google, | |
| [EModelEndpoint.anthropic]: Anthropic, | |
| [EModelEndpoint.chatGPTBrowser]: ChatGPT, | |
| }; | |
| export const multiChatOptions = { | |
| ...options, | |
| [EModelEndpoint.gptPlugins]: PluginsByIndex, | |
| }; | |