docs: propose further simplifications

This commit is contained in:
Tianyi Cui
2026-07-12 03:11:21 +08:00
parent 3dca90261c
commit 84a9b7374c
15 changed files with 227 additions and 55 deletions

View File

@@ -260,7 +260,7 @@ protect(protection: PromptProtection): () => Promise<void> | void
async assemble(context: AssembleContext = {}): Promise<PromptAssembly>
```
Source: [`packages/core/system-prompt/src/index.ts:379`](../../packages/core/system-prompt/src/index.ts)
Source: [`packages/core/system-prompt/src/index.ts:381`](../../packages/core/system-prompt/src/index.ts)
## `ctx.tools` — `ToolRegistry`