feat: support pythonic tool call and index in tool call streaming (#5725)

This commit is contained in:
Chang Su
2025-04-29 17:30:44 -07:00
committed by GitHub
parent e4b6133b78
commit 2b06484bd1
8 changed files with 541 additions and 3 deletions

View File

@@ -1107,9 +1107,9 @@ class ServerArgs:
parser.add_argument(
"--tool-call-parser",
type=str,
choices=["qwen25", "mistral", "llama3", "deepseekv3"],
choices=["qwen25", "mistral", "llama3", "deepseekv3", "pythonic"],
default=ServerArgs.tool_call_parser,
help="Specify the parser for handling tool-call interactions. Options include: 'qwen25', 'mistral', and 'llama3'.",
help="Specify the parser for handling tool-call interactions. Options include: 'qwen25', 'mistral', 'llama3', 'deepseekv3', and 'pythonic'.",
)
parser.add_argument(
"--enable-hierarchical-cache",