Class: RailsAiContext::McpController::FlushableStream
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- RailsAiContext::McpController::FlushableStream
- Defined in:
- app/controllers/rails_ai_context/mcp_controller.rb
Overview
The MCP SDK's SSE writer calls stream.flush after every event, but Live's buffer writes straight through to the client and defines no flush - the NoMethodError would 500 the request after the payload was already delivered and tear down long-lived GET streams.
Instance Method Summary collapse
Instance Method Details
#flush ⇒ Object
26 |
# File 'app/controllers/rails_ai_context/mcp_controller.rb', line 26 def flush; end |