Files
social-app/.opencode/skills/ag-ui/modules/reasoning.md
T

1.1 KiB

Reasoning

作用: 介绍 AG-UI 对 LLM 推理的支持,包括链式思维可视化和加密推理内容。

源文件: llms-full.txt 行号范围: 2160-2638

内容索引:

  • Overview - 推理可见性、状态连续性、隐私合规 (行 2171-2188)
  • ReasoningMessage - 推理消息结构 (行 2190-2217)
  • Reasoning Events:
    • Event Flow - 推理事件流程图 (行 2223-2246)
    • Event Types 表 (行 2248-2258)
  • Privacy and Compliance:
    • Zero Data Retention (ZDR) - 零数据保留 (行 2264-2273)
    • Visibility Control - 可见性控制 (行 2274-2284)
    • Compliance Considerations 表 - GDPR, SOC 2, HIPAA (行 2285-2293)
  • Example Implementations:
    • Basic Reasoning Flow (行 2296-2348)
    • Encrypted Content for State Continuity (行 2350-2396)
    • Attaching Encrypted Reasoning to Tool Calls (行 2398-2430)
    • ZDR-Compliant Implementation (行 2432-2475)
    • Using Convenience Chunk Event (行 2477-2503)
  • Client Integration - 处理推理事件, 传递加密推理 (行 2505-2563)
  • Migration from Thinking Events - THINKING_* 迁移到 REASONING_* (行 2565-2617)
  • Best Practices (行 2619-2632)