$i18n.t(`Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.`)
$i18n.t(
`Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.`
)
);
);
}else{
}else{
//Resetchatmessagetextareaheight
//Resetchatmessagetextareaheight
...
@@ -511,12 +516,18 @@
...
@@ -511,12 +516,18 @@
responseMessage.content=error.error;
responseMessage.content=error.error;
}
}
}else{
}else{
toast.error($i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {provider: 'Ollama'}));
toast.error(
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {provider: 'Ollama'});
$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, { provider: 'Ollama' })
);
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {
provider:'Ollama'
});
}
}
responseMessage.error=true;
responseMessage.error=true;
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {provider: 'Ollama'});
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {
provider:'Ollama'
});
responseMessage.done=true;
responseMessage.done=true;
messages=messages;
messages=messages;
}
}
...
@@ -678,12 +689,18 @@
...
@@ -678,12 +689,18 @@
}
}
}
}
}else{
}else{
toast.error($i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {provider: model}));
toast.error(
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {provider: model}});
$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, { provider: model })
);
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {
provider:model
});
}
}
responseMessage.error=true;
responseMessage.error=true;
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {provider: model});
responseMessage.content=$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {