fix(sync): preserve part update ordering (#1167)
* fix(sync): preserve part update ordering * test(sync): wait for pipeline delivery --------- Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
committed by
GitHub
co-authored by
Isaac Sanchez
parent
afe86a84b3
commit
9715b6c23c
@@ -211,10 +211,6 @@ export function createEventPipeline(input: EventPipelineInput) {
|
||||
if (payload.type === "lsp.updated") {
|
||||
return "lsp.updated"
|
||||
}
|
||||
if (payload.type === "message.part.updated") {
|
||||
const part = (payload.properties as { part: { messageID: string; id: string } }).part
|
||||
return `message.part.updated:${part.messageID}:${part.id}`
|
||||
}
|
||||
if (payload.type === "message.part.delta") {
|
||||
const props = payload.properties as { messageID: string; partID: string; field: string }
|
||||
return `message.part.delta:${props.messageID}:${props.partID}:${props.field}`
|
||||
|
||||
Reference in New Issue
Block a user