channels-setup

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Set up a CopilotKit Channel

设置CopilotKit渠道

The workflow is not written down here. It lives at one canonical URL so it is corrected in one place instead of on every surface that describes it:
工作流并未写在此处。它存储在一个标准URL中,这样只需在一处修改即可,无需更新所有描述它的地方:

Do this

操作步骤

  1. Fetch
    https://copilotkit.ai/channels-guide.md
    .
  2. Verify you actually got the guide (below).
  3. Follow it exactly, start to finish.
The guide asks for its own inputs — the target project, the agent's real job, Slack or Microsoft Teams, and the agent framework and model. Do not pre-empt those questions, and do not substitute remembered channel-setup steps for what the guide says. Remembered steps are the reason this file is a pointer.
  1. 获取
    https://copilotkit.ai/channels-guide.md
  2. 验证你确实获取到了指南(见下文)。
  3. 从头到尾严格按照指南操作。
指南会要求提供相关信息——目标项目、agent的实际用途、Slack或Microsoft Teams,以及agent框架和模型。不要提前回答这些问题,也不要用记忆中的渠道设置步骤替代指南内容。记忆中的步骤正是本文件仅作为指向性链接的原因。

Verify you actually got the guide

验证你确实获取到了指南

A missing guide does not return 404. The site answers unknown paths with a "Page not found" HTML page under HTTP 200, so a successful status code proves nothing. Check the body instead:
  • It is markdown, not HTML.
  • It begins with
    # Build and prove a CopilotKit Channels agent
    .
  • It contains five
    ## Phase
    headings.
If any of those fail, you did not get the guide — treat it as unavailable no matter what the status code said.
指南缺失不会返回404。网站对未知路径会返回HTTP 200状态码下的“页面未找到”HTML页面,因此成功的状态码不能说明任何问题。请检查内容主体:
  • 它是markdown格式,而非HTML。
  • # Build and prove a CopilotKit Channels agent
    开头。
  • 包含五个
    ## Phase
    标题。
如果以上任何一项不满足,说明你没有获取到指南——无论状态码显示什么,都视为不可用。

If you did not get the guide

如果未获取到指南

Stop. Tell the user you could not reach the guide, show them the URL, and ask them to paste its contents or retry.
Do not improvise the workflow from memory. It spans the CopilotKit CLI, a managed Channel, provider setup performed by the user in Slack or Azure, and a long-running runtime host. A half-remembered version produces a project that installs cleanly and answers nothing, which is the most expensive failure available here — it looks finished.
停止操作。告知用户无法访问指南,展示该URL,并请求用户粘贴指南内容或重试。
不要凭记忆临时拼凑工作流。它涉及CopilotKit CLI、托管渠道、用户在Slack或Azure中完成的提供商设置,以及长期运行的主机。半记忆的版本会生成一个安装正常但无响应的项目,这是最糟糕的失败情况——看起来已完成但实际无法使用。