Skip to content

Not able to work with remote OpenAPI file #537

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

Closed
sangee2004 opened this issue Jun 24, 2024 · 2 comments
Closed

Not able to work with remote OpenAPI file #537

sangee2004 opened this issue Jun 24, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sangee2004
Copy link
Contributor

gptscript version v0.8.3+019e26b4

Steps to reproduce the problem:

  1. Execute the following script that use openapi tool.
Tools: https://petstore-p7er.onrender.com/openapi

List all the pets. What are the names of the dogs?

Following error is seen:

gptscript --disable-cache openapi_petstore.gpt
2024/06/24 12:57:19 failed resolving https://petstore-p7er.onrender.com/openapi from ./openapi_petstore.gpt: error loading https://petstore-p7er.onrender.com/openapi: error loading https://petstore-p7er.onrender.com/openapi/tool.gpt: 404 Not Found
@g-linville
Copy link
Member

@sangee2004 this should be fixed now

@sangee2004
Copy link
Contributor Author

Tested with gptscript version v0.0.0-dev-6ae47242-dirty

This issue is not seen anymore.

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

2 participants