-
Notifications
You must be signed in to change notification settings - Fork 76
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
Fixing Prompt Parser #85
base: main
Are you sure you want to change the base?
Conversation
Prompt parser will get tripped up if "--" is found anywhere in the prompt and isn't surrounded by specific deliminators. Instead let's force arguments to be at the beginning of the prompt and collect no more arguments after. This way users don't have to place flags inside deliminators and we extend what we can pass to the LLMs. More context is discussed in kharvd#52 with an example.
Was the problem here the testing? Looks like it failed on building the depends, which I did not modify. I also did not introduce any new packages or imports. Fwiw, I've been using this version for a month now. |
For now you can pull from my branch since @kharvd has only updated pricing and versioning. But yeah, I'm a bit confused why this isn't being merged either. The build error is on the dependency install (a timeout on one of the packages), so nothing to do with what I touched. @kharvd can we trigger a rebuild? I didn't check your actions to see what will cause this but I can make a trivial change if that's needed. |
@stevenwalton Yup, just saw the stale issue :) |
I just synced the branches. If I run into any issues I'll fix or if you find any let me know |
I would also value this being merged. Many thanks for an excellent plugin. |
If you are fixing a bug, please add a test case that fails without your fix - and fix the existing tests that are failing. |
- Do not update sub-sub version - Spelling - Add test cases and remove old test cases
Done. Would you like me to update the README? Fwiw, someone could make this a bit better if there is a need to have an option that takes in several words as |
Prompt parser will get tripped up if "--" is found anywhere in the prompt and isn't surrounded by specific deliminators. Instead let's force arguments to be at the beginning of the prompt and collect no more arguments after. This way users don't have to place flags inside deliminators and we extend what we can pass to the LLMs.
More context is discussed in #52 with an example.