mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-02 16:48:50 +01:00
feat: prototype of endpoint setting
This commit is contained in:
parent
b703d3706b
commit
462660d554
5 changed files with 64 additions and 11 deletions
|
|
@ -18,7 +18,7 @@ export default function ModelItem({ endpoint, value, onSelect }) {
|
|||
>
|
||||
{icon}
|
||||
{endpoint}
|
||||
{endpoint in ['azureOpenAI', 'openAI'] && <sup>$</sup>}
|
||||
{!!['azureOpenAI', 'openAI'].find(e => e === endpoint) && <sup>$</sup>}
|
||||
</DropdownMenuRadioItem>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue