Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Change JS SDK logs level
Tomas Valenta4a0ef0b3124f
diff --git a/.changeset/young-boxes-think.md b/.changeset/young-boxes-think.mdnew file mode 100644index 000000000..81a3cc7d3--- /dev/null+++ b/.changeset/young-boxes-think.md@@ -0,0 +1,5 @@+---+"@e2b/sdk": patch+---++Change logs leveldiff --git a/packages/js-sdk/src/sandbox/sandboxConnection.ts b/packages/js-sdk/src/sandbox/sandboxConnection.tsindex 37f4e1c93..93922d079 100644--- a/packages/js-sdk/src/sandbox/sandboxConnection.ts+++ b/packages/js-sdk/src/sandbox/sandboxConnection.ts@@ -90,7 +90,7 @@ export class SandboxConnection {warn: console.warn,error: console.error,}- this.logger.info?.(`Sandbox "${this.templateID}" initialized`)+ this.logger.debug?.(`Sandbox "${this.templateID}" initialized`)}private get templateID(): string {@@ -153,7 +153,7 @@ export class SandboxConnection {this.rpc.ws?.terminate?.()// This is the browser WebSocket way of closing connectionthis.rpc.ws?.close?.()- this.logger.info?.('Disconnected from the sandbox')+ this.logger.debug?.('Disconnected from the sandbox')}}