mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: BaiLian Image Model
This commit is contained in:
parent
33036400d3
commit
a447c8efc8
|
|
@ -18,6 +18,6 @@ class QwenVLChatModel(MaxKBBaseModel, ChatOpenAI):
|
|||
openai_api_base='https://dashscope.aliyuncs.com/compatible-mode/v1',
|
||||
# stream_options={"include_usage": True},
|
||||
streaming=True,
|
||||
model_kwargs=optional_params,
|
||||
**optional_params,
|
||||
)
|
||||
return chat_tong_yi
|
||||
|
|
|
|||
|
|
@ -18,6 +18,6 @@ class QwenVLChatModel(MaxKBBaseModel, ChatOpenAI):
|
|||
openai_api_base='https://dashscope.aliyuncs.com/compatible-mode/v1',
|
||||
# stream_options={"include_usage": True},
|
||||
streaming=True,
|
||||
model_kwargs=optional_params,
|
||||
**optional_params,
|
||||
)
|
||||
return chat_tong_yi
|
||||
|
|
|
|||
Loading…
Reference in New Issue