feat(voicewake): route replies to last channel
This commit is contained in:
104
dist/protocol.schema.json
vendored
104
dist/protocol.schema.json
vendored
@@ -1108,12 +1108,18 @@
|
||||
"sessionId": {
|
||||
"type": "string"
|
||||
},
|
||||
"sessionKey": {
|
||||
"type": "string"
|
||||
},
|
||||
"thinking": {
|
||||
"type": "string"
|
||||
},
|
||||
"deliver": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"channel": {
|
||||
"type": "string"
|
||||
},
|
||||
"timeout": {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
@@ -1128,6 +1134,104 @@
|
||||
"idempotencyKey"
|
||||
]
|
||||
},
|
||||
"ChatHistoryParams": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sessionKey": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sessionKey"
|
||||
]
|
||||
},
|
||||
"ChatSendParams": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sessionKey": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"thinking": {
|
||||
"type": "string"
|
||||
},
|
||||
"deliver": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"attachments": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
},
|
||||
"timeoutMs": {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
"idempotencyKey": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sessionKey",
|
||||
"message",
|
||||
"idempotencyKey"
|
||||
]
|
||||
},
|
||||
"ChatEvent": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"runId": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"sessionKey": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"seq": {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
"state": {
|
||||
"anyOf": [
|
||||
{
|
||||
"const": "delta",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"const": "final",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"const": "error",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"message": {},
|
||||
"errorMessage": {
|
||||
"type": "string"
|
||||
},
|
||||
"usage": {},
|
||||
"stopReason": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"runId",
|
||||
"sessionKey",
|
||||
"seq",
|
||||
"state"
|
||||
]
|
||||
},
|
||||
"TickEvent": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user