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

Struct SimpleAgent

examples/a2a/main.go:19–19  ·  view source on GitHub ↗

SimpleAgent 简单的演示 Agent Actor

Source from the content-addressed store, hash-verified

17
18// SimpleAgent 简单的演示 Agent Actor
19type SimpleAgent struct{}
20
21func (a *SimpleAgent) Receive(ctx *actor.Context, msg actor.Message) {
22 switch m := msg.(type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected