Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
fix(desktop): a gateway shows the address field only when it needs one (#253)
Salman Qureshi9c5f74faf97f
diff --git a/apps/desktop/src/views/settings/Models.tsx b/apps/desktop/src/views/settings/Models.tsxindex ec1086ea..f646a772 100644--- a/apps/desktop/src/views/settings/Models.tsx+++ b/apps/desktop/src/views/settings/Models.tsx@@ -260,7 +260,9 @@ export function ProviderEditor({ provider: p, offerDefault, defaultOn = false, osaveLabel?: string;}) {const showKey = !p.signInOnly && (p.needsKey || p.kind === "gateway" || p.hasKey);- const showUrl = !p.signInOnly && (p.needsBaseUrl || p.kind === "local" || p.kind === "gateway" && p.id !== "aimlapi" && p.id !== "atlascloud");+ // A fixed-endpoint gateway (AI/ML API, Atlas Cloud, Runcrate…) says so with needsBaseUrl: false;+ // only those that point at your own endpoint, and local servers, show the address.+ const showUrl = !p.signInOnly && (p.needsBaseUrl || p.kind === "local");const [key, setKey] = useState("");const [baseUrl, setBaseUrl] = useState(p.baseUrl);const [model, setModel] = useState(p.model);