[PR #3305] [MERGED] chore(deepagents): migrate Daytona snippets from find_one/findOne #3362

Closed
opened 2026-06-05 18:22:51 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3305
Author: @mislavivanda
Created: 3/25/2026
Status: Merged
Merged: 3/26/2026
Merged by: @mdrxy

Base: mainHead: chore/deepagents-daytona-findone


📝 Commits (1)

  • 92e0e28 chore(deepagents): migrate Daytona snippets from find_one/findOne

📊 Changes

1 file changed (+18 additions, -11 deletions)

View changed files

📝 src/oss/deepagents/sandboxes.mdx (+18 -11)

📄 Description

Overview

Starting with Daytona SDK v0.153.0, the find_one/findOne method is removed across all languages. This updates the get-or-create sandbox examples in the Deep Agents sandboxes page to use the get method instead.

Changes:

  • Replace find_one/findOne + label-based lookup with an explicit sandbox_store (dict/Map) that maps thread_id → sandbox ID
  • Use client.get(id) to retrieve an existing sandbox by stored ID
  • Remove labels from CreateSandboxFromSnapshotParams since they're no longer needed for lookup
  • Update the note to drop references to "labels" and "metadata" — only TTL options remain relevant for other providers
  • Fix indentation in the TypeScript client.create() call

Type of change

Type: Update existing documentation

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

🔄 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/docs/pull/3305 **Author:** [@mislavivanda](https://github.com/mislavivanda) **Created:** 3/25/2026 **Status:** ✅ Merged **Merged:** 3/26/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `chore/deepagents-daytona-findone` --- ### 📝 Commits (1) - [`92e0e28`](https://github.com/langchain-ai/docs/commit/92e0e2826dbc1d1710c9fba3a67040d86f7b9eaf) chore(deepagents): migrate Daytona snippets from find_one/findOne ### 📊 Changes **1 file changed** (+18 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/deepagents/sandboxes.mdx` (+18 -11) </details> ### 📄 Description ## Overview Starting with Daytona SDK v0.153.0, the `find_one`/`findOne` method is removed across all languages. This updates the get-or-create sandbox examples in the Deep Agents sandboxes page to use the get method instead. Changes: - Replace `find_one`/`findOne` + label-based lookup with an explicit sandbox_store (dict/Map) that maps `thread_id` → sandbox ID - Use `client.get(id)` to retrieve an existing sandbox by stored ID - Remove labels from `CreateSandboxFromSnapshotParams` since they're no longer needed for lookup - Update the note to drop references to "labels" and "metadata" — only TTL options remain relevant for other providers - Fix indentation in the TypeScript `client.create()` call ## Type of change **Type:** Update existing documentation ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [ ] I have used **root relative** paths for internal links - [ ] I have updated navigation in `src/docs.json` if needed --- <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-06-05 18:22:51 -04:00
yindo closed this issue 2026-06-05 18:22:51 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3362