mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-14 14:38:11 +01:00
feat(chatgpt-browser): add support for multiple GPT models
This commit adds support for multiple GPT models in the chatGPT-browser client. The available models are now stored in a Map object, which maps the model label to its corresponding model. The commit adds a new component, ChatGPTOptions, to the client UI to allow the user to select the GPT model to use in the chat. The component is only displayed when the chatGPT-browser endpoint is selected.
This commit is contained in:
parent
eef2303c8e
commit
aa4fd57459
9 changed files with 69 additions and 13 deletions
|
|
@ -30,7 +30,7 @@ const buildPresetByConversation = ({ title, conversation, ...others }) => {
|
|||
} else if (endpoint === 'chatGPTBrowser') {
|
||||
preset = {
|
||||
endpoint,
|
||||
model: conversation?.model || 'text-davinci-002-render-sha',
|
||||
model: conversation?.model || 'Default (GPT-3.5)',
|
||||
title,
|
||||
...others
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue