Skip to content

fix: get remote file before appending default file names #538

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

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

g-linville
Copy link
Member

This function was automatically attaching agent.gpt or tool.gpt to the end of URLs that didn't already contain a . in their last path element. This broke use cases like tools: https://petstore.gptscript-demos.ai/openapi, because it totally ignored the main URL and tried to look for those two tool files instead. This fixes that problem.

for #537

@g-linville g-linville marked this pull request as ready for review June 24, 2024 20:20
Signed-off-by: Grant Linville <[email protected]>
Signed-off-by: Grant Linville <[email protected]>
@g-linville g-linville merged commit c156d56 into gptscript-ai:main Jun 25, 2024
8 checks passed
@g-linville g-linville deleted the openapi-fixes branch June 25, 2024 14:04
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

Successfully merging this pull request may close these issues.

4 participants