Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions python/sglang/srt/function_call/muse_glimmer_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ def _consume_body(
def supports_structural_tag(self) -> bool:
return False

def parses_required_natively(self) -> bool:
"""The model only ever emits ATEM tool calls, so the JSON-array grammar
the default required/named path forces cannot parse its output."""
return True

def structure_info(self) -> _GetInfoFunc:
return lambda name: StructureInfo(
begin=f'{FUNCTION_CALLS_OPEN}\n{INVOKE_OPEN} name="{name}">',
Expand Down
Loading