feat: BaiLian Image Model

This commit is contained in:
CaptainB 2024-12-16 16:49:20 +08:00
parent 33036400d3
commit a447c8efc8
2 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,6 @@ class QwenVLChatModel(MaxKBBaseModel, ChatOpenAI):
openai_api_base='https://dashscope.aliyuncs.com/compatible-mode/v1', openai_api_base='https://dashscope.aliyuncs.com/compatible-mode/v1',
# stream_options={"include_usage": True}, # stream_options={"include_usage": True},
streaming=True, streaming=True,
model_kwargs=optional_params, **optional_params,
) )
return chat_tong_yi return chat_tong_yi

View File

@ -18,6 +18,6 @@ class QwenVLChatModel(MaxKBBaseModel, ChatOpenAI):
openai_api_base='https://dashscope.aliyuncs.com/compatible-mode/v1', openai_api_base='https://dashscope.aliyuncs.com/compatible-mode/v1',
# stream_options={"include_usage": True}, # stream_options={"include_usage": True},
streaming=True, streaming=True,
model_kwargs=optional_params, **optional_params,
) )
return chat_tong_yi return chat_tong_yi