Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Cleanup
Tomas Valenta8ee82c4a5763
diff --git a/packages/js-sdk/src/session/sessionConnection.ts b/packages/js-sdk/src/session/sessionConnection.tsindex 6bc93e64d..372bb6abf 100644--- a/packages/js-sdk/src/session/sessionConnection.ts+++ b/packages/js-sdk/src/session/sessionConnection.ts@@ -54,7 +54,7 @@ const refreshSession = api.method('post').create({ api_key: true })-abstract class SessionConnection {+class SessionConnection {protected readonly logger: Loggerprotected session?: components['schemas']['Session']protected isOpen = false@@ -206,7 +206,7 @@ abstract class SessionConnection {** `open` method requires `this` context - you may need to bind it.*/- protected async open() {+ async open() {if (this.isOpen || !!this.session) {throw new Error('Session connect was already called')} else {