docs(0.8): backport minP / repetitionPenalty docs to v0.8.x#1111
Merged
msluszniak merged 3 commits intomainfrom Apr 29, 2026
Merged
docs(0.8): backport minP / repetitionPenalty docs to v0.8.x#1111msluszniak merged 3 commits intomainfrom
msluszniak merged 3 commits intomainfrom
Conversation
The @example block on useInstanceSegmentation contains a JSX expression inside a ```ts fence, which trips the @typescript-eslint parser when the generated markdown is staged. Switch the fence to tsx so the lint hook on regenerated api-reference snapshots passes.
Backport the sampling and multimodal-rename doc edits from #1099 into the v0.8.x useLLM.md and LLMModule.md pages.
f54a911 to
27e1bed
Compare
The minP / repetitionPenalty fields don't exist in the v0.8.x GenerationConfig.md snapshot, so the anchor links broke the docs build. Render the field names as plain inline code instead.
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
Backports the sampling and multimodal-rename doc edits from #1099 into the v0.8.x useLLM.md and LLMModule.md pages, plus a JSDoc fence fix on
useInstanceSegmentation.ts. NewminP/repetitionPenalty/topPfield names are rendered as plain inline code rather than anchor links, since the v0.8.xGenerationConfig.mdsnapshot doesn't have those entries.Introduces a breaking change?
Type of change
Tested on
Testing instructions
yarn buildindocs/.Screenshots
Related issues
Follow-up to #1108 /
v0.8.4.Checklist
Additional notes