Closed ritch closed 2 months ago
The modification involves a simple yet crucial update in the PromptUserForOperation
class where the structure of the params
object has been adjusted to encapsulate result.result
within a new object.
File Path | Change Summary |
---|---|
.../operators/src/... |
Updated params assignment in PromptUserForOperation from result.result to { result: result.result } . |
🐰✨
In the code where logic hops,
A tiny change in the ops,
{ result: result.result }
now it nests,
In structured homes, where data rests.
Hop, hop, hurray, to the fields anew,
CodeRabbit's work is never through! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Prior to this change: when using
ctx.prompt()
like in the example below:The
on_success
callback would not receive the results of the prompted operation. After this change this callback no longer needs to rely on the prompted operator callingctx.panel.state.x = y
. That allows for this style in the exampleon_success
callback below.Summary by CodeRabbit