Count a typed reply starting with < as the human's
This commit is contained in:
@@ -48,12 +48,14 @@ class HumanTurns(unittest.TestCase):
|
||||
human([{"type": "text", "text": "typed as a block"}]),
|
||||
human([{"type": "tool_result", "content": "not typed"}]),
|
||||
human("<command-name>/model</command-name>"),
|
||||
{**human("<3 merge it"), "promptSource": "typed"},
|
||||
{**human("<task-notification>done</task-notification>"), "promptSource": "system"},
|
||||
{**human("peer message"), "isMeta": True},
|
||||
{**human("the loop's own prompt"), "promptSource": "sdk"},
|
||||
human([{"type": "text", "text": "[Request interrupted by user]"}]),
|
||||
human([]),
|
||||
assistant({"type": "text", "text": "said"}),
|
||||
]), 2)
|
||||
]), 3)
|
||||
|
||||
|
||||
class Said(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user