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
add Authorization header for /user/smythfs/stream endpoint
Forhad Hosain871e7c3cc1d2
diff --git a/packages/app/src/backend/routes/dbg/router.ts b/packages/app/src/backend/routes/dbg/router.tsindex f92e36e7..9c860765 100644--- a/packages/app/src/backend/routes/dbg/router.ts+++ b/packages/app/src/backend/routes/dbg/router.ts@@ -205,6 +205,13 @@ router.get('/file-proxy', includeTeamDetails, async (req, res) => {}// Make request to debugger server+ if (req.user?.accessToken) {+ headers['Authorization'] = `Bearer ${req.user.accessToken}`;+ }++ // Add debug header for routing through debugger server+ headers['x-smyth-debug'] = 'true';+const response = await axios.get(debuggerUrl.toString(), {headers,responseType: 'stream', // Stream the response