Remove EBNF Composer (#13163)
This commit is contained in:
@@ -9,7 +9,6 @@ from sglang.srt.function_call.core_types import (
|
||||
StructureInfo,
|
||||
_GetInfoFunc,
|
||||
)
|
||||
from sglang.srt.function_call.ebnf_composer import EBNFComposer
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -87,10 +86,3 @@ class Llama32Detector(BaseFormatDetector):
|
||||
end="}",
|
||||
trigger="<|python_tag|>",
|
||||
)
|
||||
|
||||
def build_ebnf(self, tools: List[Tool]):
|
||||
return EBNFComposer.build_ebnf(
|
||||
tools,
|
||||
function_format="json",
|
||||
tool_call_separator=self.tool_call_separator,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user