refactor(core): remove output paths metadata
This commit is contained in:
parent
c50554d907
commit
d6f36bb750
13 changed files with 42 additions and 105 deletions
2
packages/docs/build/plugins.mdx
vendored
2
packages/docs/build/plugins.mdx
vendored
|
|
@ -248,7 +248,7 @@ mutable fields:
|
|||
| `ctx.aisdk.hook("language", callback)` | `language`, after inspecting `model`, `sdk`, and `options` |
|
||||
| `ctx.session.hook("request", callback)` | `system`, `messages`, and the `tools` record immediately before model dispatch |
|
||||
| `ctx.tool.hook("execute.before", callback)` | `input`, before the selected tool executes |
|
||||
| `ctx.tool.hook("execute.after", callback)` | `result`, `output`, and `outputPaths`, after execution settles |
|
||||
| `ctx.tool.hook("execute.after", callback)` | `result` and `output`, after execution settles |
|
||||
|
||||
For example, remove a tool from selected model requests and normalize another
|
||||
tool's input:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue