Step audio R1 reasoning parser (#2846)
Signed-off-by: Mike_Qiu <qiudayu.qdy@antgroup.com> Signed-off-by: Yueqian Lin <linyueqian@outlook.com> Signed-off-by: Mike Qiu <qdy220091330@gmail.com> Co-authored-by: Mike_Qiu <qiudayu.qdy@antgroup.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Yueqian Lin <linyueqian@outlook.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
8 files changed
+1546
No files matched your search
@@ -425,6 +425,15 @@ async def omni_run_server_worker(listen_address, sock, args, client_config=None,
|
||||
|
||||
ReasoningParserManager.import_reasoning_parser(args.reasoning_parser_plugin)
|
||||
|
||||
# In vllm-omni's multi-process architecture, create_engine_config() runs
|
||||
# in the subprocess (StageEngineCoreProc), not in the API server process.
|
||||
# Propagate reasoning_parser from CLI args into structured_outputs_config
|
||||
# here so that OmniOpenAIServingChat receives the correct value.
|
||||
# (Upstream vLLM does this in EngineArgs.create_engine_config().)
|
||||
if hasattr(args, "reasoning_parser") and args.reasoning_parser:
|
||||
if not args.structured_outputs_config.reasoning_parser:
|
||||
args.structured_outputs_config.reasoning_parser = args.reasoning_parser
|
||||
|
||||
# Load logging config for uvicorn if specified
|
||||
log_config = get_uvicorn_log_config(args)
|
||||
if log_config is not None:
|
||||
|
||||
Reference in new issue
Block a user