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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
openapi emb fix
Ahmed Essam4abcb2ebce14
diff --git a/packages/runtime/src/modules/embodiment/helpers/openapi-adapter.helper.ts b/packages/runtime/src/modules/embodiment/helpers/openapi-adapter.helper.tsindex 7521d1ee..ba602e52 100644--- a/packages/runtime/src/modules/embodiment/helpers/openapi-adapter.helper.ts+++ b/packages/runtime/src/modules/embodiment/helpers/openapi-adapter.helper.ts@@ -60,12 +60,8 @@ const agentDataConnector = new EmbodimentAgentDataConnector();* Constructs the server URL from domain using environment configuration*/function constructServerUrl(domain: string): string {- const serverUrlScheme =- config.env.NODE_ENV === 'development' && config.env.AGENT_DOMAIN_PORT && domain.includes(config.env.DEFAULT_AGENT_DOMAIN) ? 'http' : 'https';- const serverUrlPort =- config.env.NODE_ENV === 'development' && config.env.AGENT_DOMAIN_PORT && domain.includes(config.env.DEFAULT_AGENT_DOMAIN)- ? `:${config.env.AGENT_DOMAIN_PORT}`- : '';+ const serverUrlScheme = config.env.AGENT_DOMAIN_PORT && domain.includes(config.env.DEFAULT_AGENT_DOMAIN) ? 'http' : 'https';+ const serverUrlPort = config.env.AGENT_DOMAIN_PORT && domain.includes(config.env.DEFAULT_AGENT_DOMAIN) ? `:${config.env.AGENT_DOMAIN_PORT}` : '';return `${serverUrlScheme}://${domain}${serverUrlPort}`;}