Skip to content

Commit 23e149d

Browse files
committed
revert test
1 parent fee5d5e commit 23e149d

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

tests/integration/cross_version/client_server/server_0_3.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from a2a.server.agent_execution.agent_executor import AgentExecutor
1010
from a2a.server.agent_execution.context import RequestContext
11-
from a2a.server.apps.jsonrpc import A2AFastAPIApplication
11+
from a2a.server.apps.jsonrpc.fastapi_app import A2AFastAPIApplication
1212
from a2a.server.apps.rest.fastapi_app import A2ARESTFastAPIApplication
1313
from a2a.server.events.event_queue import EventQueue
1414
from a2a.server.events.in_memory_queue_manager import InMemoryQueueManager
@@ -188,13 +188,12 @@ async def main_async(http_port: int, grpc_port: int):
188188
)
189189

190190
app = FastAPI()
191-
jsonrpc_app = A2AFastAPIApplication(
192-
agent_card=agent_card,
193-
http_handler=handler,
194-
extended_agent_card=agent_card,
195-
).build()
196-
app.mount('/jsonrpc', jsonrpc_app)
197-
191+
app.mount(
192+
'/jsonrpc',
193+
A2AFastAPIApplication(
194+
http_handler=handler, agent_card=agent_card
195+
).build(),
196+
)
198197
app.mount(
199198
'/rest',
200199
A2ARESTFastAPIApplication(

0 commit comments

Comments
 (0)