🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
export const StreamingResponse = (
stream: ReadableStream,
options?: { headers?: Record<string, string> },
) => {
return new Response(stream, {
headers: {
'Cache-Control': 'no-cache',
'Content-Type': 'text/event-stream',
// for Nginx: disable chunk buffering
'X-Accel-Buffering': 'no',
...options?.headers,
},
});
};