[PR #1108] [MERGED] feat(sdk): add sandbox provider exceptions #1135

Closed
opened 2026-02-16 09:18:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagents/pull/1108
Author: @eyurtsev
Created: 2/4/2026
Status: Merged
Merged: 2/5/2026
Merged by: @eyurtsev

Base: masterHead: eugene/add_exceptions_sandboxes


📝 Commits (4)

  • aa32ed6 feat(sdk): add sandbox provider exceptions
  • 22a3a8c chore(sdk): simplify SandboxError
  • 304e5f2 Update libs/deepagents/deepagents/backends/sandbox.py
  • de685ad chore(sdk): remove unused cast import (#1132)

📊 Changes

1 file changed (+35 additions, -0 deletions)

View changed files

📝 libs/deepagents/deepagents/backends/sandbox.py (+35 -0)

📄 Description

Adds a small exception hierarchy for sandbox providers (SandboxError and SandboxNotFoundError). SandboxError supports standard exception chaining (raise ... from e) and exposes the chained exception via original_exc for callers that need provider-specific inspection.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagents/pull/1108 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 2/4/2026 **Status:** ✅ Merged **Merged:** 2/5/2026 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `master` ← **Head:** `eugene/add_exceptions_sandboxes` --- ### 📝 Commits (4) - [`aa32ed6`](https://github.com/langchain-ai/deepagents/commit/aa32ed644d3927c1cd7d0e199a01462edc8e11fa) feat(sdk): add sandbox provider exceptions - [`22a3a8c`](https://github.com/langchain-ai/deepagents/commit/22a3a8cb224c77f2d598e8425d288b639204b07d) chore(sdk): simplify SandboxError - [`304e5f2`](https://github.com/langchain-ai/deepagents/commit/304e5f267b7a257ee08144d28299b5d01c09d560) Update libs/deepagents/deepagents/backends/sandbox.py - [`de685ad`](https://github.com/langchain-ai/deepagents/commit/de685ad311f8a848147a69ad1adc50aa9285a780) chore(sdk): remove unused cast import (#1132) ### 📊 Changes **1 file changed** (+35 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `libs/deepagents/deepagents/backends/sandbox.py` (+35 -0) </details> ### 📄 Description Adds a small exception hierarchy for sandbox providers (SandboxError and SandboxNotFoundError). SandboxError supports standard exception chaining (raise ... from e) and exposes the chained exception via original_exc for callers that need provider-specific inspection. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:18:13 -05:00
yindo closed this issue 2026-02-16 09:18:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagents#1135