Skip to content

Commit f5388f1

Browse files
author
Krzysztof Dziedzic
committed
bump itk version and fix json rpc agent interface specification
1 parent f0954bf commit f5388f1

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/itk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: bash run_itk.sh
2929
working-directory: itk
3030
env:
31-
A2A_SAMPLES_REVISION: itk-v0.1-alpha
31+
A2A_SAMPLES_REVISION: itk-v.0.11-alpha

itk/main.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,14 @@ async def main_async(http_port: int, grpc_port: int) -> None:
261261
AgentInterface(
262262
protocol_binding=TransportProtocol.JSONRPC,
263263
url=f'http://127.0.0.1:{http_port}/jsonrpc/',
264+
protocol_version='1.0',
265+
)
266+
)
267+
interfaces.append(
268+
AgentInterface(
269+
protocol_binding=TransportProtocol.JSONRPC,
270+
url=f'http://127.0.0.1:{http_port}/jsonrpc/',
271+
protocol_version='0.3',
264272
)
265273
)
266274
interfaces.append(

0 commit comments

Comments
 (0)