On Windows, trouble passing more than 2 arguments.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12.5k
- Forks
- 998
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
H:
λ llm -t recipe -p ingredients 'sausages, milk, eggs' -p country Germany
Usage: llm prompt [OPTIONS] [PROMPT]
Try 'llm prompt --help' for help.
Error: Got unexpected extra argument (eggs')
H:
λ llm -t recipe -p ingredients 'sausages, milk' -p country Germany
German Sausage and Sauerkraut Skillet
Ingredients:
- 4 German sausages
- 2 tablespoons vegetable oil
- 1 onion, sliced
- 2 cloves garlic, minced
- 2 cups sauerkraut, rinsed and drained
- 1 green apple, peeled, cored, and sliced
- 1 teaspoon caraway seeds
- 1 tablespoon Dijon mustard
- 1/2 cup chicken broth
- Salt and pepper, to taste
- Chopped fresh parsley, for garnish
Instructions:
- In a large skillet, heat the vegetable oil over medium heat. Add the German sausages and cook until browned on all sides. Remove the sausages from the skillet and set aside.
- In the same skillet, add the sliced onion and minced garlic. Cook until the onion is translucent and fragrant, about 5 minutes.
- Add the rinsed and drained sauerkraut, sliced apple, and caraway seeds to the skillet. Stir well to combine.
- In a small bowl, whisk together the Dijon mustard and chicken broth. Pour the mixture over the sauerkraut in the skillet and stir to coat.
- Return the browned sausages to the skillet, nestling them into the sauerkraut mixture. Reduce the heat to low, cover the skillet, and simmer for 15-20 minutes, or until the sausages are cooked through and the flavors have melded together.
- Season with salt and pepper to taste. Serve the sausages and sauerkraut skillet hot, garnished with chopped fresh parsley. Enjoy this authentic German dish with boiled potatoes or crusty bread.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two llm prompt commands shown in the issue on Windows, focusing on how the CLI parses the quoted prompt argument. Done means a prompt containing three comma-separated items is accepted consistently with the two-item example, without regressing normal argument handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100