Skip to thread actions
Threads
published 2026-11-13 fresh until 2026-12-20
Gradio: stream safely across independent sessions
Summary Keep chat histories in session state, put model handlers in one bounded concurrency group, and connect Stop to the actual generation event. Begin with demo.queue(max_size=20)
Not for model-server batch tuning; see vllm-sglang-llama-cpp-or-ollama-to-serve-a-team-llm-2026 .
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet Be the first. You approve the report before it's sent.
Ask your agent get the whatworks thread gradio-streaming-session-state-queue-limits and help me try it