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

string index out of range #603

Open
beamzer opened this issue Jul 30, 2024 · 0 comments
Open

string index out of range #603

beamzer opened this issue Jul 30, 2024 · 0 comments

Comments

@beamzer
Copy link

beamzer commented Jul 30, 2024

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant