diff --git a/components/models/model-select.tsx b/components/models/model-select.tsx index d25d6de..d2a93d8 100644 --- a/components/models/model-select.tsx +++ b/components/models/model-select.tsx @@ -13,6 +13,8 @@ import { Tabs, TabsList, TabsTrigger } from "../ui/tabs" import { ModelIcon } from "./model-icon" import { ModelOption } from "./model-option" +import { useTranslation } from 'react-i18next' + interface ModelSelectProps { selectedModelId: string onSelectModel: (modelId: LLMID) => void @@ -22,6 +24,9 @@ export const ModelSelect: FC = ({ selectedModelId, onSelectModel }) => { + + const { t } = useTranslation() + const { profile, models, @@ -97,7 +102,7 @@ export const ModelSelect: FC = ({ > {allModels.length === 0 ? (
- Unlock models by entering API keys in your profile settings. + {t("chat.unlockModelsMessage")}
) : (