Skip to content

Commit e24fd16

Browse files
authored
fix(a2aclient): rename SLIMProtocol identifier to "slimrpc" (#7)
The protocol identifier was "slim" which is ambiguous — this transport specifically uses SLIM RPC. Rename the value to "slimrpc" to be consistent with how a2a-go names its built-in transports ("GRPC", "JSONRPC"). Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
1 parent df857b5 commit e24fd16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

a2aclient/slim.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
ourpb "github.com/agntcy/slim-a2a-go/a2apb"
1717
)
1818

19-
// SLIMProtocol is the transport protocol identifier for SLIM.
20-
const SLIMProtocol a2a.TransportProtocol = "slim"
19+
// SLIMProtocol is the transport protocol identifier for SLIM RPC.
20+
const SLIMProtocol a2a.TransportProtocol = "slimrpc"
2121

2222
// Transport implements a2aclient.Transport over SLIM RPC.
2323
type Transport struct {

0 commit comments

Comments
 (0)