Running the "Hello World" example returns a 404
Closed this issue · 3 comments
theutz commented
I get a proper response via curl https://get.gptscript.ai
, but not when I run the example provided:
gptscript https://get.gptscript.ai/echo.gpt --input 'Hello, World!'
rinor commented
That's because there may be an "issue" handling urls and paths around
Line 66 in 5c18177
https://get.gptscript.ai/echo.gpt
to becomehttps://get.gptscript.ai//echo.gpt
(double slash on path) hence the 404
$ gptscript 'https://get.gptscript.ai/echo.gpt' --input 'Hello, World!'
2024/03/11 11:41:39 error loading https://get.gptscript.ai//echo.gpt: 404 Not Found
theutz commented
Can confirm that this is fixed! Thank you!