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:
parent
d5df8b5c5f
commit
eb643b7c8c
@ -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"
|
||||
/>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user