Include agent_name as a participant attribute (#3914)

This commit is contained in:
David Zhao
2025-09-10 21:29:55 -07:00
committed by GitHub
parent 782a35e801
commit 5f561b4ff1
4 changed files with 28 additions and 12 deletions
+3 -1
View File
@@ -33,6 +33,8 @@ type AgentService interface {
type TestServer struct {
AgentService
TestAPIKey string
TestAPISecret string
}
func NewTestServer(bus psrpc.MessageBus) *TestServer {
@@ -46,7 +48,7 @@ func NewTestServer(bus psrpc.MessageBus) *TestServer {
}
func NewTestServerWithService(s AgentService) *TestServer {
return &TestServer{s}
return &TestServer{s, "test", "verysecretsecret"}
}
type SimulatedWorkerOptions struct {