fix clean json

This commit is contained in:
2026-07-04 09:09:56 +07:00
parent 956adf0b93
commit f8f8410259
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ julia> clean_json_response(text)
```
"""
function clean_json_response(text::String)
removelist = ["{", "}", "```", "json"]
removelist = ["{", "}", "```", "json", "\n"]
for i in removelist
while occursin(i, text)
text = replace(text, i => "")