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