MCPcopy Create free account
hub / github.com/astercloud/aster / AgentActorTell

Function AgentActorTell

pkg/agent/actor.go:532–534  ·  view source on GitHub ↗

============== 辅助函数 ============== AgentActorTell 向 Agent Actor 发送消息(不等待响应)

(pid *actor.PID, msg actor.Message)

Source from the content-addressed store, hash-verified

530
531// AgentActorTell 向 Agent Actor 发送消息(不等待响应)
532func AgentActorTell(pid *actor.PID, msg actor.Message) {
533 pid.Tell(msg)
534}
535
536// AgentActorChat 向 Agent Actor 发送对话请求并等待响应
537func AgentActorChat(pid *actor.PID, text string, timeout time.Duration) (*ChatResultMsg, error) {

Callers

nothing calls this directly

Calls 1

TellMethod · 0.80

Tested by

no test coverage detected