[llm][docs] Restore literalinclude to code example#59520
Merged
kouroshHakha merged 1 commit intoray-project:masterfrom Dec 17, 2025
Merged
[llm][docs] Restore literalinclude to code example#59520kouroshHakha merged 1 commit intoray-project:masterfrom
kouroshHakha merged 1 commit intoray-project:masterfrom
Conversation
Signed-off-by: Seiji Eicher <seiji@anyscale.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request fixes a regression in the documentation for prefix-aware routing. The incorrect, hardcoded code example has been replaced with a literalinclude directive. This is an excellent change as it ensures the documentation's code example is sourced directly from a tested file, preventing future discrepancies. The change is correct and improves the maintainability of the documentation.
kouroshHakha
approved these changes
Dec 17, 2025
zzchun
pushed a commit
to zzchun/ray
that referenced
this pull request
Dec 18, 2025
Signed-off-by: Seiji Eicher <seiji@anyscale.com>
Yicheng-Lu-llll
pushed a commit
to Yicheng-Lu-llll/ray
that referenced
this pull request
Dec 22, 2025
Signed-off-by: Seiji Eicher <seiji@anyscale.com>
peterxcli
pushed a commit
to peterxcli/ray
that referenced
this pull request
Feb 25, 2026
Signed-off-by: Seiji Eicher <seiji@anyscale.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix documentation regression introduced in #57787 where the prefix-aware routing example used incorrect kwargs.
This PR restores the
literalincludedirective that references the tested example file, ensuring the documentation stays in sync with the actual API and CI validates the example.Related issues
Fixes regression from #57787
Additional information
Before (incorrect):
After (correct, via literalinclude):