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
42f8ea40
Unverified
Commit
42f8ea40
authored
Oct 29, 2025
by
Liangsheng Yin
Committed by
GitHub
Oct 29, 2025
Browse files
[Test] Fix session control test (#12336)
parent
14cbe42f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/sglang/srt/managers/session_controller.py
python/sglang/srt/managers/session_controller.py
+2
-1
No files found.
python/sglang/srt/managers/session_controller.py
View file @
42f8ea40
...
...
@@ -137,13 +137,14 @@ class Session:
origin_input_ids
=
input_ids
,
origin_input_ids_unpadded
=
input_ids_unpadded
,
sampling_params
=
req
.
sampling_params
,
lora_
path
=
req
.
lora_
path
,
lora_
id
=
req
.
lora_
id
,
session_id
=
self
.
session_id
,
custom_logit_processor
=
req
.
custom_logit_processor
,
stream
=
req
.
stream
,
return_logprob
=
req
.
return_logprob
,
top_logprobs_num
=
req
.
top_logprobs_num
,
token_ids_logprob
=
req
.
token_ids_logprob
,
vocab_size
=
tokenizer
.
vocab_size
,
)
if
last_req
is
not
None
:
new_req
.
multimodal_inputs
=
last_req
.
multimodal_inputs
...
...
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