diff --git a/src/modules/llms/models-modal/LLMOptionsModal.tsx b/src/modules/llms/models-modal/LLMOptionsModal.tsx index 0ea7fac74..de2d2e1d2 100644 --- a/src/modules/llms/models-modal/LLMOptionsModal.tsx +++ b/src/modules/llms/models-modal/LLMOptionsModal.tsx @@ -8,7 +8,6 @@ import VisibilityOffIcon from '@mui/icons-material/VisibilityOff'; import { FormLabelStart } from '~/common/components/forms/FormLabelStart'; import { GoodModal } from '~/common/components/GoodModal'; -import { GoodTooltip } from '~/common/components/GoodTooltip'; import { DLLMId, useModelsStore } from '../store-llms'; import { findVendorById } from '../vendors/vendors.registry'; @@ -123,20 +122,20 @@ export function LLMOptionsModal(props: { id: DLLMId, onClose: () => void }) { setShowDetails(!showDetails)} /> {showDetails && - - {llm.id} - + {!!llm.description && + {llm.description} + } {!!llm.tmpIsFree && ๐ŸŽ Free model - note: refresh models to check for updates in pricing } - {!!llm.description && - {llm.description} - } + llm id: {llm.id}
context tokens: {llm.contextTokens ? llm.contextTokens.toLocaleString() : 'not provided'}{` ยท `} max output tokens: {llm.maxOutputTokens ? llm.maxOutputTokens.toLocaleString() : 'not provided'}
- {!!llm.created && `created: ${(new Date(llm.created * 1000)).toLocaleString()} ยท `} + {!!llm.created && <>created: {(new Date(llm.created * 1000)).toLocaleString()}
} {/*ยท tags: {llm.tags.join(', ')}*/} + {!!llm.pricing && <>pricing: ${llm.pricing.chatIn || '(unk) '}/M in, ${llm.pricing.chatOut || '(unk) '}/M out
} + {!!llm.benchmark && <>benchmark: {llm.benchmark.cbaElo?.toLocaleString() || '(unk) '} CBA Elo
} config: {JSON.stringify(llm.options)}
}