You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate to the tenki SDK 0.5.1 and drop project ID support
The Python SDK now publishes as `tenki` (LuxorLabs/tenki.cloud#477); the
`tenki_sandbox` namespace remains as a legacy alias but new code should use
the canonical one. Pin `tenki[async]>=0.5.1` and import `from tenki import ...`
in the core, the frontmatter `requirements:` of both distributables, and the
live integration tests.
Project scoping was removed from the API: `AsyncClient.create()` in 0.5.1 no
longer accepts `project_id`, so passing it raises TypeError. Drop the
`tenki_project_id` valve, the create-call argument, and the `TENKI_PROJECT_ID`
env plumbing in `scripts/try_live.py` and the live tests. `workspace_id` is
unchanged and still the way to scope a sandbox.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: open-webui/functions/tenki_run_code.py
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
description: A "Run code" button that executes a message's Python or shell code block in an isolated, ephemeral Tenki microVM sandbox — a secure code interpreter / code execution sandbox for Open WebUI.
Copy file name to clipboardExpand all lines: open-webui/tools/tenki_code_execution.py
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
description: Run Python and shell code in isolated, ephemeral Tenki microVM sandboxes. A secure code interpreter / code execution sandbox for Open WebUI (isolated, ephemeral, microVM).
Copy file name to clipboardExpand all lines: scripts/build.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
description: Run Python and shell code in isolated, ephemeral Tenki microVM sandboxes. A secure code interpreter / code execution sandbox for Open WebUI (isolated, ephemeral, microVM).
30
30
version: 0.1.0
31
31
license: MIT
32
-
requirements: tenki-sandbox[async]>=0.3.5
32
+
requirements: tenki[async]>=0.5.1
33
33
"""'''
34
34
35
35
ACTION_FRONTMATTER='''\
@@ -41,7 +41,7 @@
41
41
description: A "Run code" button that executes a message's Python or shell code block in an isolated, ephemeral Tenki microVM sandbox — a secure code interpreter / code execution sandbox for Open WebUI.
0 commit comments