Skip to content
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

Please support me wt Quick Lookup Plugin #5

Closed
GTGalaxi opened this issue Feb 18, 2024 · 1 comment
Closed

Please support me wt Quick Lookup Plugin #5

GTGalaxi opened this issue Feb 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@GTGalaxi
Copy link
Owner

Quoted from email received by user

Hello, i'm using plugin Quick Lookup, this's my syntax for chat gpt search. But it only enters the first word of a paragraph. Help me get him to fill out what I'm entering.
------
{
    "Name": "GPT",
    "URL": "[https://chat.openai.com/chat?q={0}](https://chat.openai.com/chat?q=%7B0%7D)",
    "Categories": ["q"],
    "Enabled": true
}
------
Many thanks!

Implementation of split to seperate query from category resulted in only the first entry before the next space being taken in.
ie. ql ip 192.168.0.1 192.168.0.2 would only take 192.168.0.1 and ignore anything after it.

To fix this, split once on first space for category and everything after would be one long string. This will allow entering sentences.

@GTGalaxi GTGalaxi added the bug Something isn't working label Feb 18, 2024
@GTGalaxi GTGalaxi self-assigned this Feb 18, 2024
@GTGalaxi
Copy link
Owner Author

Issue #5 resolved in latest commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant