[model] Apertus Tool/Function and Reasoning parser (#25100)

This commit is contained in:
EduardDurech
2026-06-06 00:04:31 -07:00
committed by GitHub
parent 8c47b7678a
commit e9dbbd19e9
12 changed files with 555 additions and 7 deletions
+1
View File
@@ -1866,6 +1866,7 @@ class ParseFunctionCallReq(BaseReq):
class SeparateReasoningReqInput(BaseReq):
text: str # The text to parse.
reasoning_parser: str # Specify the parser type, e.g., "deepseek-r1".
return_blocks: bool = False # If True, also return segmented reasoning blocks.
@dataclass