Can not transforms JSON-RPC into CloudEvent corretcly. like methods
This is my request:
curl -X POST http://127.0.0.1:10105/eventmesh/publish/test-topic \
-H "Content-Type:application/json" \
-H "protocoltype: a2a" \
-H "protocolversion: 2.0" \
-d '{
"jsonrpc": "2.0",
"method": "message/send",
"id": "curl-req-002",
"params": {
"message": {
"role": "user",
"message_id": "msg-456",
"parts": [
{
"kind": "text",
"text": "What is the weather in Shanghai?"
}
]
},
"_topic": "test-topic"
}
}'
Search before asking
Environment
Mac
EventMesh version
master
What happened
Can not transforms JSON-RPC into CloudEvent corretcly. like methods
This is my request:
And this is the message:
How to reproduce
Debug logs
Are you willing to submit PR?
Code of Conduct