@@ -41,8 +41,8 @@ type Part struct {
4141func TestA2AServer_AgentCard (t * testing.T ) {
4242 t .Parallel ()
4343
44- _ , runtimeConfig := startRecordingAIProxy (t )
45- agentCard := startA2AServer (t , "testdata/basic.yaml" , runtimeConfig )
44+ _ , runConfig := startRecordingAIProxy (t )
45+ agentCard := startA2AServer (t , "testdata/basic.yaml" , runConfig )
4646
4747 assert .Equal (t , "root" , agentCard .Name )
4848 assert .NotEmpty (t , agentCard .Description )
@@ -55,8 +55,8 @@ func TestA2AServer_AgentCard(t *testing.T) {
5555func TestA2AServer_Invoke (t * testing.T ) {
5656 t .Parallel ()
5757
58- _ , runtimeConfig := startRecordingAIProxy (t )
59- agentCard := startA2AServer (t , "testdata/basic.yaml" , runtimeConfig )
58+ _ , runConfig := startRecordingAIProxy (t )
59+ agentCard := startA2AServer (t , "testdata/basic.yaml" , runConfig )
6060
6161 requestID := "test-request-1"
6262 jsonRPCRequest := map [string ]any {
@@ -111,8 +111,8 @@ func TestA2AServer_Invoke(t *testing.T) {
111111func TestA2AServer_MultipleRequests (t * testing.T ) {
112112 t .Parallel ()
113113
114- _ , runtimeConfig := startRecordingAIProxy (t )
115- agentCard := startA2AServer (t , "testdata/basic.yaml" , runtimeConfig )
114+ _ , runConfig := startRecordingAIProxy (t )
115+ agentCard := startA2AServer (t , "testdata/basic.yaml" , runConfig )
116116
117117 messages := []string {
118118 "Say 'hello' in one word." ,
@@ -169,8 +169,8 @@ func TestA2AServer_MultipleRequests(t *testing.T) {
169169func TestA2AServer_MultiAgent (t * testing.T ) {
170170 t .Parallel ()
171171
172- _ , runtimeConfig := startRecordingAIProxy (t )
173- agentCard := startA2AServer (t , "testdata/multi.yaml" , runtimeConfig )
172+ _ , runConfig := startRecordingAIProxy (t )
173+ agentCard := startA2AServer (t , "testdata/multi.yaml" , runConfig )
174174
175175 requestID := "test-multi-1"
176176 jsonRPCRequest := map [string ]any {
0 commit comments