Skip to content

Conversation

@StrongMonkey
Copy link
Contributor

When reference a tool in a subDir, for example

tools: github.com/gptscript-ai/search/duckduckgo, sys.http.html2text?

summarize nba standings for last season. Search using DuckDuckGo. Feel free to get the contents
of the returned URLs in order to get more information. Provide as much detail as you can.

The runtime is being called at the root level, not the subPath. Normally the file(main.go) will live in the same directory as tool.gpt, so runtime will fail. It probably makes more sense to assume all the files are living in the same directory within the subDir that it is referencing to.

Also, in go runtime, building in subDir will fail because of missing git VCS info. Adding -buildvcs=false should fix that.

Copy link
Member

@g-linville g-linville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Daishan!

@ibuildthecloud ibuildthecloud merged commit 9da061b into gptscript-ai:main Mar 14, 2024
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.

3 participants