-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sweep: Normalize command-line argument paths #3
Comments
🚀 Here's the PR! #4See Sweep's progress at the progress dashboard! ⚡ Sweep Basic Tier: I'm using GPT-4. You have 3 GPT-4 tickets left for the month and 3 for the day. (tracking ID:
5f1c282974 )For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets). Install Sweep Configs: Pull Request
Tip I can email you next time I complete a pull request if you set up your email here! Actions (click)
GitHub Actions failedThe sandbox appears to be unavailable or down. Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 300 to 315 in cf2772f
I also found the following external resources that might be helpful:Summaries of links found in the content: AUTOMATIC1111/stable-diffusion-webui#14588: The page is a pull request on GitHub titled "Feature: Extra Networks Tree View" by Sj-Si. The pull request (#14588) adds an option to switch from the "Card View" to a "Tree View" in the Extra Networks section. This allows users to easily navigate complex directory structures to find networks. The pull request includes screenshots and a video demonstrating the new feature. The code changes include adding a new button to copy the file path of a network, displaying a message if a directory is empty, and implementing search and sort options. The pull request also includes discussions between Sj-Si and AUTOMATIC1111, the owner of the repository, regarding the implementation and design of the feature. AUTOMATIC1111 approves the changes and merges the pull request. Step 2: ⌨️ CodingCreate utils/path_normalizer.py with contents:
Check utils/path_normalizer.py with contents: Create the_file_handling_cmd_args.py with contents:
Check the_file_handling_cmd_args.py with contents: Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.Something wrong? Let us know. This is an automated message generated by Sweep AI. |
Checklist
What happened?
fix an issue on Windows where some functions will misbehave if forward slashes are provided rather than double backslashes. An example of this is the current tree generation procedure implemented in AUTOMATIC1111/stable-diffusion-webui#14588, which produces no tree if a path with forward slashes X:/like/this is provided via the cmd line arg rather than backslashes X:\like\this.
Steps to reproduce the problem
Point to a folder in other location using commandline args, use the extra networks viewer
What should have happened?
Should show folders/tree view
What browsers do you use to access the UI ?
No response
Sysinfo
sysinfo-2024-02-07-15-44.json
Console logs
Additional information
No response
Checklist
utils/path_normalizer.py
✓ 9acbaa3 Editutils/path_normalizer.py
✓ Editthe_file_handling_cmd_args.py
✓ 352428c Editthe_file_handling_cmd_args.py
✓ EditThe text was updated successfully, but these errors were encountered: