Hand the security pass back to the run, and accept a judge's elided quote
This commit is contained in:
@@ -40,5 +40,5 @@ def part_line(part: object, tool_input_chars: int) -> str:
|
||||
return text
|
||||
if call := tool_call(part):
|
||||
name, arguments = call
|
||||
return f"[tool {name}] {json.dumps(arguments)[:tool_input_chars]}"
|
||||
return f"[tool {name}] {json.dumps(arguments, ensure_ascii=False)[:tool_input_chars]}"
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user