Merge pull request #377 from hchen2020/master

Provide conversation_end flat in response_to_user
This commit is contained in:
C. Oceania 2024-03-29 18:37:11 -05:00 committed by GitHub
commit 86f056bb53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)