Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Pass anonymous functions to process
Tomas Valenta67198aec2b5d
diff --git a/api-service/playground/src/sessions/process.ts b/api-service/playground/src/sessions/process.tsindex 0276f8921..ed6d69a4c 100644--- a/api-service/playground/src/sessions/process.ts+++ b/api-service/playground/src/sessions/process.ts@@ -37,8 +37,8 @@ export class CachedProcess {const process = await createSessionProcess({manager: this.manager,...params,- onStderr: stderr.push,- onStdout: stdout.push,+ onStderr: (o) => stderr.push(o),+ onStdout: (o) => stdout.push(o),})process.exited.finally(() => {