Skip to content
2 changes: 1 addition & 1 deletion docs/en/use/astrbot-agent-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ A practical way to think about this file:

From AstrBot's perspective, the current implementation caches the sandbox booter by request `session_id`; in the default main-agent flow, this `session_id` usually equals the message-session identifier `unified_msg_origin`. As a result, follow-up requests from the same message session will usually continue using the same Neo sandbox; if the sandbox becomes unavailable, it will be rebuilt automatically.

For more detailed explanations of TTL and persistence behavior, see the later sections on [`Shipyard Neo Sandbox TTL`](docs/en/use/astrbot-agent-sandbox.md) and [`Data Persistence in the Sandbox Environment`](docs/en/use/astrbot-agent-sandbox.md).
For more detailed explanations of TTL and persistence behavior, see the later sections on `Shipyard Neo Sandbox TTL` and Data Persistence in the Sandbox Environment.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While removing the broken links is a good step, it would be even better to replace them with proper anchor links to the corresponding sections within this document. This would improve navigation for the reader and restore the intended linking functionality.

Suggested change
For more detailed explanations of TTL and persistence behavior, see the later sections on `Shipyard Neo Sandbox TTL` and Data Persistence in the Sandbox Environment.
For more detailed explanations of TTL and persistence behavior, see the later sections on [\`Shipyard Neo Sandbox TTL\`](#about-shipyard-neo-sandbox-ttl) and [Data Persistence in the Sandbox Environment](#about-data-persistence-in-the-sandbox-environment).


## Legacy Option: Shipyard

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/use/astrbot-agent-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ gc:

对 AstrBot 而言,当前会按请求的 `session_id` 维度缓存沙箱 booter;在主 Agent 默认流程下,这个 `session_id` 通常等于消息会话标识 `unified_msg_origin`。因此,同一消息会话的后续请求通常会继续复用同一个 Neo sandbox;如果沙箱失效,则会自动重建。

关于 TTL 与数据持久化的更详细说明,请参考下文的 [`关于 Shipyard Neo Sandbox TTL`](docs/zh/use/astrbot-agent-sandbox.md) 与 [`关于沙盒环境的数据持久化`](docs/zh/use/astrbot-agent-sandbox.md) 小节。
关于 TTL 与数据持久化的更详细说明,请参考下文的关于 `Shipyard Neo Sandbox TTL`”与“关于沙盒环境的数据持久化小节。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

同样地,这里虽然移除了错误的链接,但更好的做法是使用页内锚点链接,以方便读者跳转到对应章节。这可以改善文档的可读性和导航性。

Suggested change
关于 TTL 与数据持久化的更详细说明,请参考下文的关于 `Shipyard Neo Sandbox TTL`”与“关于沙盒环境的数据持久化小节。
关于 TTL 与数据持久化的更详细说明,请参考下文的[关于 \`Shipyard Neo Sandbox TTL\`](#关于-shipyard-neo-sandbox-ttl)[关于沙盒环境的数据持久化](#关于沙盒环境的数据持久化)小节。


## 旧方案:Shipyard

Expand Down
Loading