[Model] Add Bailing V3 VL support (#55921)
Signed-off-by: zexplorerhj <zhjoneson@163.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Codex
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
6ff479e1f7
commit
fe26c705f7
@@ -71,10 +71,7 @@ class Ling3Parser(Glm47MoeParser):
|
||||
if not self.thinking_enabled:
|
||||
return None, model_output
|
||||
|
||||
reasoning, content = super().extract_reasoning(model_output, request)
|
||||
if reasoning and not content and "<tool_call>" not in model_output:
|
||||
return None, reasoning
|
||||
return reasoning, content
|
||||
return super().extract_reasoning(model_output, request)
|
||||
|
||||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user