Skip to content

fix(deepagents): align edit_file prompt with Python - #1084

Merged
Hunter Lovell (hntrl) merged 2 commits into
mainfrom
robin/edit-file-description
Nov 18, 2026
Merged

Hunter Lovell (hntrl) merged 2 commits into
mainfrom
robin/edit-file-description

Conversation

@hntrl

@hntrl Hunter Lovell (hntrl) commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Remove the incorrect claim that edit_file errors when a file has not been read. Keep the read-before-edit instruction and runtime behavior unchanged.

Python parity: matches the correction in langchain-ai/deepagents#7823.

Includes a patch changeset for deepagents.

References

Made by Robin · view thread · openai:gpt-6.1-sol (medium)

Co-authored-by: Robin <open-swe@users.noreply.github.com>
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
deepagentsjs-ui Ready Ready Preview Nov 18, 2026 8:45pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48e55de

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
deepagents Patch
deepagents-acp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@robin-agent robin-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Robin Review: No issues found

Robin reviewed this PR and found no potential bugs to report.

Open in Robin

@hntrl
Hunter Lovell (hntrl) marked this pull request as ready for review November 18, 2026 20:43
@pkg-pr-new

pkg-pr-new Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

deepagents-acp

npm i https://pkg.pr.new/deepagents-acp@1084

deepagents

npm i https://pkg.pr.new/deepagents@1084

@langchain/sandbox-standard-tests

npm i https://pkg.pr.new/@langchain/sandbox-standard-tests@1084

@langchain/daytona

npm i https://pkg.pr.new/@langchain/daytona@1084

@langchain/deno

npm i https://pkg.pr.new/@langchain/deno@1084

@langchain/modal

npm i https://pkg.pr.new/@langchain/modal@1084

@langchain/node-vfs

npm i https://pkg.pr.new/@langchain/node-vfs@1084

@langchain/quickjs

npm i https://pkg.pr.new/@langchain/quickjs@1084

commit: 48e55de

Co-authored-by: Robin <open-swe@users.noreply.github.com>
@robin-agent robin-agent Bot changed the title fix(deepagents): remove false unread-file error claim fix(deepagents): align edit_file prompt with Python Nov 18, 2026

@mdrxy Mason Daugherty (mdrxy) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved in Slack via expedited review.

@hntrl
Hunter Lovell (hntrl) merged commit e261b7c into main Nov 18, 2026
24 checks passed
@hntrl
Hunter Lovell (hntrl) deleted the robin/edit-file-description branch November 18, 2026 21:48

This branch was successfully deployed

1 active deployment
Preview — 48e55de5 Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants