Rebuild time

This commit is contained in:
Frikky
2025-08-27 11:16:21 +02:00
parent 5b335f86f2
commit a65ad252c2
7 changed files with 46 additions and 9 deletions
+15 -3
View File
@@ -11992,7 +11992,19 @@ const AngularWorkflow = (defaultprops) => {
const json = await response.json();
if (response.status !== 200) {
toast(json.message || "Unexpected response");
if (json.reason !== undefined && json.reason !== null && json.reason.length > 0) {
toast.error("Workflow generation failed: " + json.reason)
}
if (!isCloud) {
toast.info("Click here to set up a local LLM!", {
autoClose: 10000,
onClick: () => {
window.open("/docs/AI#self-hosting-models", "_blank")
}
})
}
return null;
}
@@ -20969,10 +20981,10 @@ const AngularWorkflow = (defaultprops) => {
</Tooltip>
: null}
{userdata.support == true ?
{userdata.support == true || !isCloud ?
<Tooltip
color="secondary"
title="Generate workflow (support only)"
title="Generate workflow (requires LLM model)"
placement="top-start"
>
<span>