Fix: Update placeholder text for model input

The placeholder text for the model input was previously incorrect. This commit updates the placeholder to reflect the expected format for model names.
This commit is contained in:
n4ze3m 2024-10-26 23:41:00 +05:30
parent d5df8b5c5f
commit eb643b7c8c

View File

@ -20,6 +20,7 @@ export const AddOllamaModelModal: React.FC<Props> = ({ open, setOpen }) => {
})
const pullModel = async (modelName: string) => {
modelName.replaceAll("ollama pull", "").replaceAll("ollama run", "").trim()
notification.info({
message: t("manageModels.notification.pullModel"),
description: t("manageModels.notification.pullModelDescription", {
@ -52,7 +53,7 @@ export const AddOllamaModelModal: React.FC<Props> = ({ open, setOpen }) => {
<Input
{...form.getInputProps("model")}
required
placeholder={t("manageModels.modal.placeholder")}
placeholder={"qwen2.5:3b"}
size="large"
/>