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',
|
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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user