{"ref":"content:streaming-llm-output-with-cap-and-websockets","page":"/content/streaming-llm-output-with-cap-and-websockets","json":"/content/streaming-llm-output-with-cap-and-websockets.json","generated":"2026-10-30","drafted_with_ai":true,"entity":{"id":"streaming-llm-output-with-cap-and-websockets","title":"Streaming LLM Output with CAP and WebSockets","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/streaming-llm-output-with-cap-and-websockets/ba-p/14224282","content_type":"blog","explains":["capability:websocket",{"ref":"capability:llm-integration","applies_to":{"ecosystems":["cap"]}}],"summary":"Tokens arriving from the AI SDK's orchestration module, forwarded to the browser as they come rather than after the model finishes. Covers all four pieces — enabling WebSocket support in CAP, a service with actions and events, the streaming itself, and a frontend on the native WebSocket API — which is what makes it the clearest case for why a CAP service would want a socket at all.","short":"Streaming LLM output to the browser over WebSockets in CAP","author":"RobinP","published":"2025-11-18","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-sap/streaming-llm-output-with-cap-and-websockets/ba-p/14224282","title":"Streaming LLM Output with CAP and WebSockets — SAP Community","checked":"2026-09-08"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-08"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:llm-integration (cap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 11 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@cap-js/ai 1.0.0, 2026-04"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":1828,"unit":"views"},{"value":0,"unit":"comments"},{"value":8,"unit":"likes"}]},"signals":{"views":1828,"likes":8,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}