-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llm.user_dir()
should create it if it doesn't exist yet
#275
Labels
enhancement
New feature or request
Milestone
Comments
Current implementation: Lines 188 to 192 in 4711336
|
I think it should create the directory. I think it's a reasonable API expectation for a plugin that the folder returned by |
simonw
changed the title
Maybe
Sep 13, 2023
llm.user_dir()
should create it if it doesn't exist yetllm.user_dir()
should create it if it doesn't exist yet
simonw
added a commit
that referenced
this issue
Sep 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just fixed this bug:
The code in question did this:
It worked if
llm.user_dir()
already existed but failed otherwise.Maybe
llm.user_dir()
should create the directory if it's missing before returning it?The text was updated successfully, but these errors were encountered: