-
Notifications
You must be signed in to change notification settings - Fork 644
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Search before asking
- I had searched in the issues and found no similar issues.
Environment
Mac
EventMesh version
master
What happened
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"
}
}'
And this is the message:
How to reproduce
- launch EventMesh
- send a json rpc request
- check protocol type in message is http rather than a2a
Debug logs
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct *
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working