Upload openpipe_llama_dual.py
Browse files- openpipe_llama_dual.py +1 -3
openpipe_llama_dual.py
CHANGED
|
@@ -19,8 +19,6 @@ from vllm.tool_parsers.abstract_tool_parser import ToolParser, ToolParserManager
|
|
| 19 |
class OpenPipeLlamaDualParser(ToolParser):
|
| 20 |
"""Parse official JSON, llama31 tool markers, and pipeline3 function tags."""
|
| 21 |
|
| 22 |
-
supports_required_and_named = False
|
| 23 |
-
|
| 24 |
LEGACY_START = "<|start_tool_call|>"
|
| 25 |
LEGACY_END = "<|end_tool_call|>"
|
| 26 |
FUNCTION_CALL_TAG = "<function>"
|
|
@@ -264,4 +262,4 @@ class OpenPipeLlamaDualParser(ToolParser):
|
|
| 264 |
tools_called=False,
|
| 265 |
tool_calls=[],
|
| 266 |
content=model_output,
|
| 267 |
-
)
|
|
|
|
| 19 |
class OpenPipeLlamaDualParser(ToolParser):
|
| 20 |
"""Parse official JSON, llama31 tool markers, and pipeline3 function tags."""
|
| 21 |
|
|
|
|
|
|
|
| 22 |
LEGACY_START = "<|start_tool_call|>"
|
| 23 |
LEGACY_END = "<|end_tool_call|>"
|
| 24 |
FUNCTION_CALL_TAG = "<function>"
|
|
|
|
| 262 |
tools_called=False,
|
| 263 |
tool_calls=[],
|
| 264 |
content=model_output,
|
| 265 |
+
)
|