LangSmith backend implementation conforming to SandboxBackendProtocol.
This implementation inherits all file operation methods from BaseSandbox and only implements the execute() method using LangSmith's API.
LangSmithBackend(
self,
sandbox: Sandbox,
)| Name | Type | Description |
|---|---|---|
sandbox* | Sandbox | LangSmith Sandbox instance |
| Name | Type |
|---|---|
| sandbox | Sandbox |
Execute a command in the sandbox and return ExecuteResponse.
Download multiple files from the LangSmith sandbox.
Leverages LangSmith's native file read API for efficiency. Supports partial success - individual downloads may fail without affecting others.
Upload multiple files to the LangSmith sandbox.
Leverages LangSmith's native file write API for efficiency. Supports partial success - individual uploads may fail without affecting others.