[refactor] Retire the legacy config accessor and the remaining process singletons (#30493)
This commit is contained in:
@@ -1783,9 +1783,9 @@ class _SGLangPlugin(_FrameworkPlugin):
|
||||
return None
|
||||
|
||||
try:
|
||||
from sglang.srt.server_args import get_global_server_args
|
||||
from sglang.srt.runtime_context import get_server_args
|
||||
|
||||
args = get_global_server_args()
|
||||
args = get_server_args()
|
||||
if args is None:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user