Skip to content

Conversation

jakemac53
Copy link
Contributor

You can't set a working dir if it doesn't exist, this ensures the dir does actually exist. LLMs like to sometimes set a root that is a subdirectory of an actual root, which is generally fine, but we need to make sure to create it.

Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

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

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

Copy link

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

@gspencergoog
Copy link
Contributor

You might add a test to make sure the directory gets created if it didn't exist before.

@gspencergoog
Copy link
Contributor

Ahh, nevermind... :-)

@jakemac53
Copy link
Contributor Author

You might add a test to make sure the directory gets created if it didn't exist before.

Heh yeah I was in the middle of writing it when you sent this :)

@jakemac53 jakemac53 merged commit cf7d67f into main May 29, 2025
13 checks passed
@jakemac53 jakemac53 deleted the create-working-dir branch May 29, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants