summaryrefslogtreecommitdiffstats
path: root/testing/binghuan
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/binghuan/BingHuan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/binghuan/BingHuan.py b/testing/binghuan/BingHuan.py
index ce36b1f2..8c859c08 100644
--- a/testing/binghuan/BingHuan.py
+++ b/testing/binghuan/BingHuan.py
@@ -18,7 +18,7 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
for line in iter(p.stdout.readline, b''):
- yield line.decode('utf-8')
+ yield line.decode('cp1252')