From aa5a30f272168be60a0c85ed9b7932837a33f582 Mon Sep 17 00:00:00 2001
From: hksdpc255 <43977088+hksdpc255@users.noreply.github.com>
Date: Tue, 17 Mar 2026 09:21:57 +0800
Subject: [PATCH] Remove ensure_ascii=False from JSON serialization
---
models/templates/MiroThinker-v1.jinja | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/models/templates/MiroThinker-v1.jinja b/models/templates/MiroThinker-v1.jinja
index 215d96fc78..eb2445cd3b 100644
--- a/models/templates/MiroThinker-v1.jinja
+++ b/models/templates/MiroThinker-v1.jinja
@@ -29,7 +29,7 @@
{%- endif %}
{{- "### Tool name: " + function_name(tool) + "\n" }}
{{- "Description: " + function_description(tool) + "\n" }}
- {{- "Input JSON schema: " + (function_parameters(tool) | tojson(ensure_ascii=False)) + "\n" }}
+ {{- "Input JSON schema: " + (function_parameters(tool) | tojson) + "\n" }}
{{- "\n" }}
{%- endif %}
{%- endmacro %}
@@ -56,7 +56,7 @@
{{- "\n" }}
{{- function.name }}
{{- "\n\n" }}
- {{- function.arguments | tojson(ensure_ascii=False) }}
+ {{- function.arguments | tojson }}
{{- "\n" }}
{%- endfor %}
{{- "\n" }}