Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

fix lint error in index.ts

Forhad Hosain5021d9975f1f
diff --git a/packages/runtime/src/index.ts b/packages/runtime/src/index.ts
index 194fbb12..c3271831 100644
--- a/packages/runtime/src/index.ts
+++ b/packages/runtime/src/index.ts
@@ -151,13 +151,13 @@ app.use(express.urlencoded({ extended: false, limit: '100kb' }));
// Health endpoint
app.get('/health', (req: any, res) => {
- let agent_domain = config.env.DEFAULT_AGENT_DOMAIN;
- if (config.env.AGENT_DOMAIN_PORT) agent_domain += `:${config.env.AGENT_DOMAIN_PORT}`;
+ let agentDomain = config.env.DEFAULT_AGENT_DOMAIN;
+ if (config.env.AGENT_DOMAIN_PORT) agentDomain += `:${config.env.AGENT_DOMAIN_PORT}`;
res.send({
message: 'Health Check Complete',
hostname: req.hostname,
- agent_domain,
+ agent_domain: agentDomain,
success: true,
node: port?.toString()?.substr(2),
name: 'smythos-runtime-server',