Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix method description
Tomas Valenta33f868eb14df
diff --git a/packages/js-sdk/src/session/index.ts b/packages/js-sdk/src/session/index.tsindex d7c857679..86084874c 100644--- a/packages/js-sdk/src/session/index.ts+++ b/packages/js-sdk/src/session/index.ts@@ -406,8 +406,7 @@ export class Session extends SessionConnection {* The file will be uploaded to the user's home directory with the same name.* If a file with the same name already exists, it will be overwritten.*- * **Use this method only in the non-browser environment.- * In the browser environment, use the `uploadURL()` method and upload the file driectly via POST multipart/form-data**+ * **You can use the {@link Session.fileURL} property and upload file directly via POST multipart/form-data****/async uploadFile(file: Buffer | Blob, filename: string) {