mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-17 16:37:36 +08:00
Slim subagent runtime surface and remove legacy interfaces
This commit is contained in:
@@ -40,7 +40,8 @@ func TestDispatchOutbound_DeduplicatesRepeatedSend(t *testing.T) {
|
||||
t.Fatalf("new manager: %v", err)
|
||||
}
|
||||
rc := &recordingChannel{}
|
||||
mgr.RegisterChannel("test", rc)
|
||||
mgr.channels["test"] = rc
|
||||
mgr.refreshSnapshot()
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
@@ -85,7 +86,8 @@ func TestDispatchOutbound_DifferentButtonsShouldNotDeduplicate(t *testing.T) {
|
||||
t.Fatalf("new manager: %v", err)
|
||||
}
|
||||
rc := &recordingChannel{}
|
||||
mgr.RegisterChannel("test", rc)
|
||||
mgr.channels["test"] = rc
|
||||
mgr.refreshSnapshot()
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
Reference in New Issue
Block a user