diff --git a/docs/source/features/reasoning_outputs.md b/docs/source/features/reasoning_outputs.md index 3c2571298e4f9..7a761ff9a4d9e 100644 --- a/docs/source/features/reasoning_outputs.md +++ b/docs/source/features/reasoning_outputs.md @@ -231,13 +231,12 @@ For more examples, please refer to . +You can add a new `ReasoningParser` similar to . ```python # import the required packages -from vllm.entrypoints.openai.reasoning_parsers.abs_reasoning_parsers import ( - ReasoningParser, ReasoningParserManager) +from vllm.reasoning import ReasoningParser, ReasoningParserManager from vllm.entrypoints.openai.protocol import (ChatCompletionRequest, DeltaMessage) @@ -288,7 +287,7 @@ class ExampleParser(ReasoningParser): """ ``` -Additionally, to enable structured output, you'll need to create a new `Reasoner` similar to the one in . +Additionally, to enable structured output, you'll need to create a new `Reasoner` similar to the one in . ```python @dataclass