langstream icon indicating copy to clipboard operation
langstream copied to clipboard

mini-langstream start suggestion fails to deploy due to incorrect path

Open Gagravarr opened this issue 2 years ago • 0 comments

After running mini-langstream start, the end of the output includes a suggested example app to try

Ready 🚀
Deploy your first app with:
mini-langstream cli apps deploy app -i $(mini-langstream get-instance) -s https://raw.githubusercontent.com/LangStream/langstream/main/examples/secrets/secrets.yaml -app https://github.com/LangStream/langstream/tree/main/examples/applications/python-processor-exclamation
mini-langstream cli apps get app

However, if you try to deploy this, the deploy fails with

mini-langstream cli apps deploy app -i $(mini-langstream get-instance) -s https://raw.githubusercontent.com/LangStream/langstream/main/examples/secrets/secrets.yaml -app https://github.com/LangStream/langstream/tree/main/examples/applications/python-processor-exclamation
Updating local GitHub repository /home/nick/.langstream/ghrepos/LangStream/langstream/main
Updated local GitHub repository to 83afc3fe (1 s)
downloaded remote file https://raw.githubusercontent.com/LangStream/langstream/main/examples/secrets/secrets.yaml (0 s)
packaging app: /home/nick/.langstream/ghrepos/LangStream/langstream/main/examples/applications/python-processor-exclamation
File does not exist: /home/nick/.langstream/ghrepos/LangStream/langstream/main/examples/applications/python-processor-exclamation

The github URL listed seems to be incorrect, and seems to be missing /python/ in the path. Instead of https://github.com/LangStream/langstream/tree/main/examples/applications/python-processor-exclamation I believe it should be https://github.com/LangStream/langstream/tree/main/examples/applications/python/python-processor-exclamation

Gagravarr avatar Nov 08 '23 11:11 Gagravarr