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
379 stars 28 forks source link

[cli]] updates for multi-os browser for langstream UI #682

Closed mark878 closed 8 months ago

mark878 commented 8 months ago

main issue was to figure out that the thread needs to wait a bit after processBuilder is called to start the browser and waitfor() can't be used because it doesn't return until the started process completes.

I only tested this out is WSL. Needs to be tested on standard linux, macos and windows.

Added logic to determine OS and spawn a browser process based on the OS

mark878 commented 8 months ago

updated the test(s)