Give failure one spelling
This commit is contained in:
@@ -19,13 +19,13 @@ def human_turns(entries):
|
||||
def render(entries):
|
||||
lines = []
|
||||
for entry in entries:
|
||||
lines += [line for part in assistant_parts(entry) if (line := said(part))]
|
||||
lines += [line for part in assistant_parts(entry) if (line := part_line(part))]
|
||||
if (text := human_text(entry)) is not None:
|
||||
lines.append("[human] " + text)
|
||||
return "\n\n".join(lines)
|
||||
|
||||
|
||||
def said(part, limit=400):
|
||||
def part_line(part, limit=400):
|
||||
if (text := part_text(part)) and text.strip():
|
||||
return text
|
||||
if call := tool_call(part):
|
||||
|
||||
Reference in New Issue
Block a user