Added conversation_end to response_to_user
This commit is contained in:
parent
afe1a447f8
commit
f11790ed10
|
|
@ -65,6 +65,12 @@ public static class ReasonerHelper
|
|||
}
|
||||
}
|
||||
|
||||
if (args.AgentName == "response_to_user")
|
||||
{
|
||||
args.AgentName = "";
|
||||
malformed = true;
|
||||
}
|
||||
|
||||
if (malformed)
|
||||
{
|
||||
Console.WriteLine($"Captured LLM malformed response");
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@
|
|||
"content": {
|
||||
"type": "string",
|
||||
"description": "Response content"
|
||||
},
|
||||
"conversation_end": {
|
||||
"type": "boolean",
|
||||
"description": "User is ending the conversation."
|
||||
}
|
||||
},
|
||||
"required": [ "content" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue