feat(function call): complete utility method for KimiK2Detector and enhance documentation (#8043)

This commit is contained in:
Chang Su
2025-07-23 17:37:31 -07:00
committed by GitHub
parent 0e7a5b2694
commit 01079e174f
8 changed files with 205 additions and 56 deletions
@@ -16,9 +16,12 @@ logger = logging.getLogger(__name__)
class Llama32Detector(BaseFormatDetector):
"""
Detector for Llama 3.2 models.
Assumes function call format:
<|python_tag|>{"name":"xxx", "arguments":{...}}
Detector for Llama 3.2 models with json tool call format.
Format Structure:
```
<python_tag>{"name":"xxx", "arguments":{...}}
```
"""
def __init__(self):