command
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Feb 25, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
中优先级功能 (Medium Priority Features)
展示 Hosted Tools、Agent Handoff、Crews 协作、对话模式、双向流式、追踪系统。
功能
- Hosted Tools:OpenAI SDK 风格的托管工具注册
- Agent Handoff:Agent 间任务移交协议
- Crews:CrewAI 风格的角色化团队协作
- Conversation:AutoGen 风格的多 Agent 对话(轮询模式)
- Bidirectional Streaming:双向流式通信管理
- Tracing:LangSmith 风格的调用追踪和可观测性
前置条件
- Go 1.24+
- 无需 API Key(所有示例使用 Mock 对象演示结构)
运行
cd examples/07_mid_priority_features
go run main.go
代码说明
每个功能模块通过 Mock Agent 演示 API 用法和配置方式,不依赖真实 LLM 调用。重点展示各子系统的初始化、注册和配置流程。
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.