diff --git a/services/www/src/docs/content/build/plugins/index.mdx b/services/www/src/docs/content/build/plugins/index.mdx index a435f2b8430..04a6c91bebe 100644 --- a/services/www/src/docs/content/build/plugins/index.mdx +++ b/services/www/src/docs/content/build/plugins/index.mdx @@ -1222,7 +1222,7 @@ differently: ```ts await ctx.session.hook("context", (event) => { - event.system.push({ text: "Keep the review focused on correctness." }) + event.system.push({ type: "text", text: "Keep the review focused on correctness." }) delete event.tools.write event.options.temperature = 0.2 event.options.maxTokens = 8_000