fixed meesage format to openclaw
This commit is contained in:
@@ -731,7 +731,7 @@ class ARIABridge:
|
|||||||
"method": "chat.send",
|
"method": "chat.send",
|
||||||
"params": {
|
"params": {
|
||||||
"sessionKey": self._session_key,
|
"sessionKey": self._session_key,
|
||||||
"text": text,
|
"message": text,
|
||||||
"idempotencyKey": str(uuid.uuid4()),
|
"idempotencyKey": str(uuid.uuid4()),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ function sendToGateway(text) {
|
|||||||
method: "chat.send",
|
method: "chat.send",
|
||||||
params: {
|
params: {
|
||||||
sessionKey: "aria-diagnostic",
|
sessionKey: "aria-diagnostic",
|
||||||
text,
|
message: text,
|
||||||
idempotencyKey: crypto.randomUUID(),
|
idempotencyKey: crypto.randomUUID(),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user