Skip to content

feat: add Code Interpreter by Tenki tool node - #6666

Open
jessie-zamora wants to merge 3 commits into
FlowiseAI:mainfrom
jessie-zamora:tenki-code-interpreter
Open

feat: add Code Interpreter by Tenki tool node#6666
jessie-zamora wants to merge 3 commits into
FlowiseAI:mainfrom
jessie-zamora:tenki-code-interpreter

Conversation

@jessie-zamora

Copy link
Copy Markdown

What

Adds a Code Interpreter by Tenki tool node that lets agents execute Python in a Tenki cloud sandbox — mirroring the existing "Code Interpreter by E2B" node, but backed by the Tenki Sandbox SDK.

How it works

On each tool call, the node:

  1. Creates a Tenki sandbox session via @tenkicloud/sandbox (with a max-lifetime cap so an orphaned session self-terminates)
  2. Runs the agent-provided Python (python3 -c ...), killing it if it exceeds a 2-minute timeout
  3. Returns stdout, or a clear error message on failure/non-zero exit
  4. Closes the session

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant