Added conversation_end to response_to_user

This commit is contained in:
Haiping Chen 2025-06-27 08:28:22 -05:00
parent afe1a447f8
commit f11790ed10
2 changed files with 10 additions and 0 deletions

View file

@ -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");

View file

@ -7,6 +7,10 @@
"content": {
"type": "string",
"description": "Response content"
},
"conversation_end": {
"type": "boolean",
"description": "User is ending the conversation."
}
},
"required": [ "content" ]