diff --git a/setup.py b/setup.py index 6512e3d..b5f8022 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="modelmerge", - version="0.8.4", + version="0.8.5", description="modelmerge is a multi-large language model API aggregator.", long_description=Path.open(Path("README.md"), encoding="utf-8").read(), long_description_content_type="text/markdown", diff --git a/src/ModelMerge/models/chatgpt.py b/src/ModelMerge/models/chatgpt.py index 5e3c244..e4f9673 100644 --- a/src/ModelMerge/models/chatgpt.py +++ b/src/ModelMerge/models/chatgpt.py @@ -342,7 +342,7 @@ def ask_stream( print("请求超时,请检查网络连接或增加超时时间。{e}") return except Exception as e: - print("发生了未预料的错误:{e}") + print(f"发生了未预料的错误:{e}") if "Invalid URL" in str(e): e = "You have entered an invalid API URL, please use the correct URL and use the `/start` command to set the API URL again. Specific error is as follows:\n\n" + str(e) raise Exception(f"{e}")