From 45689a226b8c14a5d659c855c50483289d558ad1 Mon Sep 17 00:00:00 2001 From: max Date: Fri, 1 Mar 2024 12:25:03 +0100 Subject: [PATCH] Update step-decorator.mdx changing current.step.input with current_step.input. --- api-reference/step-decorator.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/step-decorator.mdx b/api-reference/step-decorator.mdx index 79482c8..72e15b4 100644 --- a/api-reference/step-decorator.mdx +++ b/api-reference/step-decorator.mdx @@ -45,10 +45,10 @@ async def my_step(): current_step = cl.context.current_step # Override the input of the step - current.step.input = "My custom input" + current_step.input = "My custom input" # Override the output of the step - current.step.output = "My custom output" + current_step.output = "My custom output" ``` ## Stream the Output