Skip to content
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

New UI for apps monitoring and testing #551

Merged
merged 2 commits into from
Oct 9, 2023
Merged

New UI for apps monitoring and testing #551

merged 2 commits into from
Oct 9, 2023

Conversation

nicoloboschi
Copy link
Member

@nicoloboschi nicoloboschi commented Oct 9, 2023

Standalone UI for apps

New command langstream apps ui <appid> that:

  • Starts a webserver locally - using Undertow
  • Serves a static html file that shows the logs and let user to connect to the gateways

The gateway connection is proxied by the webserver in order to being able to handle http -> https and pass around browser default policies.
Same for logs.

Local run UI

The same server is now deployed when running langstream docker run.
There's an option to skip it --start-ui false

The output shown in the logs is the command output.
The output is redirect to a temp file and both the UI and the terminal tails that file.

Not implemented (yet):

  • Gateway authentication
  • "chat" type gateways

@nicoloboschi nicoloboschi marked this pull request as ready for review October 9, 2023 13:15
Copy link
Member

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

@nicoloboschi nicoloboschi merged commit a307600 into main Oct 9, 2023
8 checks passed
@nicoloboschi nicoloboschi deleted the gateway-ui branch October 9, 2023 14:25
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 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.

None yet

2 participants