获取 API 密钥
事件

checkpoint_partial

{ type: "checkpoint_partial", n, skipped }

照片无法带走一切,并说到它遗漏的东西——在任何事情都依赖它之前。

only when something was skippednamed, not guessedarrives with the point
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

字段

ninteger

这一点令人关切。

skippedarray

[{ path, reason }] - 是什么没有复制,为什么?

{
  type: "checkpoint_partial",
  n: 3,
  skipped: [
    { path: "data/dump.sql",  reason: "over 25 MB: recorded, not copied" },
    { path: "tmp/locked.db",  reason: "unreadable" }
  ]
}
{
    "type": "checkpoint_partial",
    "n": 3,
    "skipped": [
        {"path": "data/dump.sql", "reason": "file was too large or could not be copied"},
        {"path": "tmp/locked.db", "reason": "file was too large or could not be copied"},
    ],
}

原因 原因 原因 原因 原因

原因原因原因原因原因原因原因含义
超过25 MB:记录,未复制其大小和日期保持不变;其内容不重要。 倒退无法恢复它。
无法读取无法在快照时间读取文件—— 锁定、 正在使用、 已经丢失 。

超过 5,000 文件的工作空间不在此报告, 但标记点 partial 内 checkpoints().

为何在当时说

必须在信任前知道部分快照

反转时发现40 MB 文件从未复制为时已晚 — — 已经做出了回去的决定。 当点被移动时, 将使用一个界面标记它, 并让个人将文件移出工作空间 。

也上名了

const points = await agent.checkpoints();
// [{ n: 3, at, text, files, partial: true, outside: [] }, …]
points = agent.checkpoints()
# [{"n": 3, "at", "text", "files", "partial": True}, …]

partial 事实也是如此,以后再公布。 rewind() 返回 返回 其自 files.skipped 无法放回去的东西, 是一个不同的清单—— 一份是关于取,另一份是关于恢复。