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

Struct MockAgentActor

pkg/a2a/server_test.go:17–20  ·  view source on GitHub ↗

MockAgentActor 用于测试的简单 Agent Actor

Source from the content-addressed store, hash-verified

15
16// MockAgentActor 用于测试的简单 Agent Actor
17type MockAgentActor struct {
18 responses []string
19 index int
20}
21
22func (a *MockAgentActor) Receive(ctx *actor.Context, msg actor.Message) {
23 switch msg.(type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected