feat(core): replace instruction checkpoints with value-delta sync (#36254)
This commit is contained in:
parent
768a69bbbd
commit
96a9731947
57 changed files with 2053 additions and 1278 deletions
|
|
@ -2129,10 +2129,10 @@ test("projects live instruction updates with their message ID", async () => {
|
|||
id: "evt_instructions_1",
|
||||
created: 0,
|
||||
type: "session.instructions.updated",
|
||||
durable: durable("session-1"),
|
||||
durable: durable("session-1", 0, 2),
|
||||
data: {
|
||||
sessionID: "session-1",
|
||||
text: "Updated instructions",
|
||||
delta: { "core/date": "0".repeat(64) },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
@ -2140,7 +2140,7 @@ test("projects live instruction updates with their message ID", async () => {
|
|||
expect(sync.session.message.list("session-1")?.[0]).toMatchObject({
|
||||
id: SessionMessage.ID.fromEvent(EventV2.ID.make("evt_instructions_1")),
|
||||
type: "system",
|
||||
text: "Updated instructions",
|
||||
text: "Instructions updated: core/date",
|
||||
time: { created: 0 },
|
||||
})
|
||||
} finally {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue