fixed event handler
This commit is contained in:
parent
f0f3b40a30
commit
29e175e75f
|
|
@ -803,7 +803,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()),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -377,7 +377,7 @@ function sendToGateway(text, isPipeline) {
|
||||||
method: "chat.send",
|
method: "chat.send",
|
||||||
params: {
|
params: {
|
||||||
sessionKey: "aria-diagnostic",
|
sessionKey: "aria-diagnostic",
|
||||||
text: text,
|
message: text,
|
||||||
idempotencyKey: crypto.randomUUID(),
|
idempotencyKey: crypto.randomUUID(),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue