MCPcopy Create free account
hub / github.com/Louisym/MiniCC / stream

Method stream

tutorials/18_design_patterns_for_agents.py:70–72  ·  view source on GitHub ↗

发送消息, 返回 assistant 事件列表

(self, messages: list[dict])

Source from the content-addressed store, hash-verified

68 """API 客户端接口: 你必须能发送请求并返回事件流"""
69 @abstractmethod
70 def stream(self, messages: list[dict]) -> list[dict]:
71 """发送消息, 返回 assistant 事件列表"""
72 ...
73
74 # 对应 conversation.rs:38-39
75 # pub trait ToolExecutor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected