You've already forked ModuleLLM-OpenAI-Plugin
mirror of
https://github.com/m5stack/ModuleLLM-OpenAI-Plugin.git
synced 2026-05-20 11:37:26 -07:00
[update] support qwen3-vl
This commit is contained in:
@@ -106,7 +106,8 @@ class LlmClientBackend(BaseModelBackend):
|
||||
"max_token_len": request.max_tokens,
|
||||
"temperature": request.temperature,
|
||||
"top_p": request.top_p,
|
||||
"prompt": parsed_prompt
|
||||
"prompt": parsed_prompt,
|
||||
"b_video": True
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
@@ -93,6 +93,9 @@ class GetModelList:
|
||||
if precompute_len is not None:
|
||||
new_entry['max_context_length'] = precompute_len
|
||||
|
||||
if '-vl-' in mode:
|
||||
new_entry['max_context_length'] = 1152
|
||||
|
||||
elif model_type == 'tts':
|
||||
mode_param = model_data.get("mode_param", {})
|
||||
precompute_len = None
|
||||
|
||||
Reference in New Issue
Block a user