diff --git a/pilot/model/proxy/llms/wenxin.py b/pilot/model/proxy/llms/wenxin.py index 4f4ee7606..701b35ea0 100644 --- a/pilot/model/proxy/llms/wenxin.py +++ b/pilot/model/proxy/llms/wenxin.py @@ -87,7 +87,7 @@ def wenxin_generate_stream( yield "Failed to get access token. please set the correct api_key and secret key." messages: List[ModelMessage] = params["messages"] - + history, systems = __convert_2_wenxin_messages(messages) system = "" if systems and len(systems) > 0: