shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

string index out of range

Open beamzer opened this issue 1 year ago • 0 comments

This query: shell_gpt --model=gpt-4o "what is Citrix VDA (Virtual Delivery Agent)" seems to generate an answer with a hyperlink which results in a "string index out of range" error on my system. See the attached file for the complete error output.

For more detailed information, you can refer to the [Citrix documentation](https ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/userX/anaconda3/lib/python3.11/site-packages/sgpt/app.py:229 in main ... IndexError: string index out of range error-sgpt.txt

Other queries to generate a URL work OK on my system sgpt --model=gpt-4o "show me an example of a url without markup and without explanation" https://www.example.com/path/to/resource?query=example so I'm not sure what is causing this error

any help is appreciated. Ewald...

beamzer avatar Jul 30 '24 12:07 beamzer