LangStream / langstream

LangStream. Event-Driven Developer Platform for Building and Running LLM AI Apps. Powered by Kubernetes and Kafka.
https://langstream.ai
Apache License 2.0
387 stars 28 forks source link

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

Open Gagravarr opened 10 months ago

Gagravarr commented 10 months ago

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