langgenius / langgenius/dify

[Agent Backend] E2B connection Missing worpskace-isolation sandbox configuration in UI

Open
#41,723 3 comments 1 reaction 0 assignees View on GitHub
💪 enhancement
Dominant language
TypeScript
Stars
156k
Forks
24.6k
Avg merge
22h 9m
Merged PRs (30d)
610

Description

### Self Checks

- [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).
- [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] Please do not modify this template :) and fill in all the required fields.

### 1. Is this request related to a challenge you're experiencing? Tell me about your story.

Currently E2B Configuration can only setup globally by environment at system start up. This can no serve the case where each workpace should its individual
agent-backend. Neither it does not cover the case ApiKey is used to auth template access.

### 2. Additional context or comments

Support E2B connection Configuration within WebUI, same as LLM-Provider.
Mainly E2B_API_KEY, E2B_API_URL, E2B_DOMAIN. TemplateId should be opt-in,since apply build-draft always create new snapshot.

### 3. Can you help us with this feature?

- [ ] I am interested in contributing to this feature.

Contributor guide

Open the contributing guide

Research direction

Trace the existing LLM-Provider configuration flow in the WebUI and agent backend, then compare it with the current globally initialized E2B configuration. Confirm how workspace-level E2B_API_KEY, E2B_API_URL, and E2B_DOMAIN settings should work, including optional TemplateId handling for build-draft; done means these settings can be configured per workspace through the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.