Skip to content

Commit

Permalink
Update step-decorator.mdx (#104)
Browse files Browse the repository at this point in the history
changing current.step.input with current_step.input.
  • Loading branch information
maaaakks committed Mar 4, 2024
1 parent b13bdcd commit 80842bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-reference/step-decorator.mdx
Expand Up @@ -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
Expand Down

0 comments on commit 80842bd

Please sign in to comment.