Skip to content

fix(sdk): fix excessive exception handling in sandbox.write#2321

Draft
Eugene Yurtsev (eyurtsev) wants to merge 3 commits intomainfrom
eugene/fix_sandbox_api
Draft

fix(sdk): fix excessive exception handling in sandbox.write#2321
Eugene Yurtsev (eyurtsev) wants to merge 3 commits intomainfrom
eugene/fix_sandbox_api

Conversation

@eyurtsev
Copy link
Copy Markdown
Collaborator

@eyurtsev Eugene Yurtsev (eyurtsev) commented Mar 30, 2026

  • Let unhandelled exceptions to bubble up, instead of present them to the LLM.
  • Absorb responsibility of creating parent folder to upload_files so it can be optimized.

@github-actions github-actions bot added deepagents Related to the `deepagents` SDK / agent harness fix A bug fix (PATCH) internal User is a member of the `langchain-ai` GitHub organization size: XS < 50 LOC labels Mar 30, 2026
@eyurtsev Eugene Yurtsev (eyurtsev) changed the title fix(sdk): fix default write implementation fix(sdk): fix excessive exception handling in sandbox.write Mar 30, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 30, 2026

Merging this PR will not alter performance

✅ 32 untouched benchmarks
⏩ 15 skipped benchmarks1


Comparing eugene/fix_sandbox_api (e0e8291) with main (e7578dc)

Open in CodSpeed

Footnotes

  1. 15 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

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

Labels

deepagents Related to the `deepagents` SDK / agent harness fix A bug fix (PATCH) internal User is a member of the `langchain-ai` GitHub organization size: XS < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants