update: jupyter api payload, wire os.environ

This commit is contained in:
tao.chen
2026-08-04 11:29:33 +08:00
parent 173d562bd1
commit ddf112034d
3 changed files with 22 additions and 10 deletions
+2 -2
View File
@@ -162,7 +162,7 @@ class RuntimeClient:
logger.debug(ws)
body = {
"type": "notebook",
"name": name,
"path": name,
"content": {
"cells": cells if cells is not None else [],
"metadata": {},
@@ -199,7 +199,7 @@ class RuntimeClient:
ws = await self._ensure_workspace(workspace_id)
body = {
"type": "file",
"name": name,
"path": name,
"content": content,
"format": "text",
}