Provide conversation_end flat in response_to_user

This commit is contained in:
Haiping Chen 2024-03-29 18:36:05 -05:00
parent e1e7f98bff
commit d8368ef83e

View file

@ -11,7 +11,8 @@ public class ResponseToUserRoutingHandler : RoutingHandlerBase, IRoutingHandler
public List<ParameterPropertyDef> Parameters => new List<ParameterPropertyDef>
{
new ParameterPropertyDef("reason", "why response to user"),
new ParameterPropertyDef("response", "response content")
new ParameterPropertyDef("response", "response content"),
new ParameterPropertyDef("conversation_end", "whether to end this conversation, true or false", type: "boolean")
};
public ResponseToUserRoutingHandler(IServiceProvider services, ILogger<ResponseToUserRoutingHandler> logger, RoutingSettings settings)