Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
816b3a43
Unverified
Commit
816b3a43
authored
Sep 29, 2025
by
Simo Lin
Committed by
GitHub
Sep 29, 2025
Browse files
[router] add n to generate sampling params (#11069)
parent
3a641d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sgl-router/src/protocols/spec.rs
sgl-router/src/protocols/spec.rs
+2
-0
No files found.
sgl-router/src/protocols/spec.rs
View file @
816b3a43
...
...
@@ -1911,6 +1911,8 @@ pub struct SamplingParams {
#[serde(skip_serializing_if
=
"Option::is_none"
)]
pub
no_stop_trim
:
Option
<
bool
>
,
#[serde(skip_serializing_if
=
"Option::is_none"
)]
pub
n
:
Option
<
u32
>
,
#[serde(skip_serializing_if
=
"Option::is_none"
)]
pub
sampling_seed
:
Option
<
u64
>
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment