Skip to content

Commit

Permalink
Replace SetSuccess method with SetActionResult and SetFunctionResult
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel2215 committed Nov 17, 2024
1 parent 034837b commit 87618c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Chat/IActionContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ public interface IActionContext : IFunctionContext

public void SetPlaceholder(string id, object value);

public void SetSuccess(bool isSuccess);
public void SetActionResult(bool isSuccess, object? value = null);

public void SetFunctionResult(bool isSuccess, object? value = null);
}

0 comments on commit 87618c9

Please sign in to comment.