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

feat: http streaming service for rig agents #36

Merged
merged 1 commit into from
Jan 23, 2025
Merged

feat: http streaming service for rig agents #36

merged 1 commit into from
Jan 23, 2025

Conversation

piotrostr
Copy link
Owner

@piotrostr piotrostr commented Jan 23, 2025

HTTP Server with SSE Streaming Support

Spawn a listen-kit instance as a backend for your web-app

  • Added optional http feature flag with actix-web dependencies
  • Implemented streaming chat endpoint with SSE support
  • Added tiny test script

Usage:

# Run server
cargo run --bin server --features http

# Test streaming endpoint
./scripts/send-test-req.sh

Dependencies added:

  • actix-web v4
  • actix-cors v0.6
  • actix-web-lab v0.20
  • futures-util
  • tokio-stream

@piotrostr piotrostr merged commit 4c7563b into main Jan 23, 2025
5 checks passed
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.

1 participant