Skip to content

fix: initialize src path in WriteCode.run for incremental mode#2011

Open
ztexydt-cqh wants to merge 1 commit into
FoundationAgents:mainfrom
ztexydt-cqh:ai-fix/2007
Open

fix: initialize src path in WriteCode.run for incremental mode#2011
ztexydt-cqh wants to merge 1 commit into
FoundationAgents:mainfrom
ztexydt-cqh:ai-fix/2007

Conversation

@ztexydt-cqh
Copy link
Copy Markdown

@ztexydt-cqh ztexydt-cqh commented Apr 17, 2026

This PR fixes #2007.

@ztexydt-cqh
Copy link
Copy Markdown
Author

@geekan
Hi

This PR fixes the ValueError: "Call with_srcs first." crash in WriteCode when running in incremental mode (#2007).

The fix initializes the src path in WriteCode.run() before using it, which resolves the crash. Unit tests have passed, but the Full Tests workflow is pending approval.

Could you please approve the CI workflow for this PR so the full tests can run? Thanks a lot!

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.

Incremental mode crashes with "ValueError: Call with_srcs first." in WriteCode

1 participant