Skip to content

fix(server): advertise protocol 0.3 on the card in --protocol 0.3 mode - #169

Open
ConnorMoss02 wants to merge 1 commit into
a2aproject:mainfrom
ConnorMoss02:fix/server-protocol-03
Open

ConnorMoss02 wants to merge 1 commit into
a2aproject:mainfrom
ConnorMoss02:fix/server-protocol-03

Conversation

@ConnorMoss02

Copy link
Copy Markdown
Contributor

ProtocolVersion moves from localsrv.Config into CardParams, so the card builder can see it. In 0.3 mode the interface is stamped 0.3, and the card is served in the compat shape so v0.3 clients get a top-level url. send now completes against --protocol 0.3 on rest, jsonrpc and grpc.

Added TestServe_Protocol03. It starts the echo server in 0.3 mode, checks the card's url, and sends a message. It fails on main.

Fixes #168

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

a2a server --protocol 0.3 serves a card no client can use

1 participant