fix(plugin): preserve question state compatibility
This commit is contained in:
parent
5f277c4323
commit
bfa959847f
3 changed files with 5 additions and 4 deletions
|
|
@ -196,6 +196,9 @@ function stateApi(sync: ReturnType<typeof useSync>, data: ReturnType<typeof useD
|
|||
tool: request.source?.type === "tool" ? { messageID: request.source.messageID, callID: request.source.callID } : undefined,
|
||||
}))
|
||||
},
|
||||
question(sessionID) {
|
||||
return sync.data.question[sessionID] ?? []
|
||||
},
|
||||
},
|
||||
part(messageID) {
|
||||
return sync.data.part[messageID] ?? []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue