streaming-sse-setup

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Streaming SSE Setup (DEPRECATED)

SSE 流配置(已废弃)

This skill has been deprecated and consolidated into
chatkit-backend
.
Please use the
chatkit-backend
skill instead for all SSE streaming implementation.
此技能已废弃并整合到
chatkit-backend
中。
所有SSE流实现请改用
chatkit-backend
skill。

Migration

迁移指南

Use the consolidated skill:
.claude/skills/chatkit-backend/SKILL.md
The
chatkit-backend
skill includes:
  • Complete SSE streaming endpoint for ChatKit
  • ChatKit-compatible SSE event format (text, tool_call, tool_result, done)
  • Conversation and Message model persistence
  • AI agent integration with streaming
  • Response chunking for natural UX
  • Error handling with SSE error events
  • Comprehensive examples
使用整合后的技能:
.claude/skills/chatkit-backend/SKILL.md
chatkit-backend
skill 包含以下功能:
  • 适用于ChatKit的完整SSE流端点
  • 兼容ChatKit的SSE事件格式(text、tool_call、tool_result、done)
  • 对话与消息模型持久化
  • 支持流功能的AI Agent集成
  • 为自然用户体验优化的响应分块
  • 带有SSE错误事件的错误处理
  • 全面的示例

See Also

另请参阅

  • chatkit-backend - USE THIS INSTEAD
  • chatkit-frontend - Frontend ChatKit setup
  • chatkit-backend - 请改用此技能
  • chatkit-frontend - 前端ChatKit配置