For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/genui/a2ui/functions/createFallbackMessagesFromPlainText.md.
Lynx
  • 简体中文
  • 函数: createFallbackMessagesFromPlainText()

    createFallbackMessagesFromPlainText(text: string): ServerToClientMessage[]

    从一个普通字符串构建单个 Text 的回退消息流。供 transport / Session.ingest 的调用方使用,用于处理来自 agent 的自由格式文本,而不是结构化的协议消息。

    参数

    参数类型
    textstring

    返回

    ServerToClientMessage[]

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。