|
|
@@ -187,7 +187,7 @@ Registry service (`ctx.systemPrompt`): plugins contribute ordered text sections,
|
|
|
section(section: PromptSection): () => void
|
|
|
tools(provider: () => ToolSchema[]): () => void
|
|
|
variable(name: string, provider: (context: AssembleContext) => string | undefined): () => void
|
|
|
-assemble(context: AssembleContext = {}): Promise<PromptAssembly>
|
|
|
+async assemble(context: AssembleContext = {}): Promise<PromptAssembly>
|
|
|
```
|
|
|
|
|
|
Source: [`packages/core/system-prompt/src/index.ts:279`](../../packages/core/system-prompt/src/index.ts)
|