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
b216a545
Unverified
Commit
b216a545
authored
Aug 05, 2024
by
Aidan Cooper
Committed by
GitHub
Aug 05, 2024
Browse files
Remove leftover auth_token (#934)
parent
fde83405
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/lang/backend/runtime_endpoint.py
python/sglang/lang/backend/runtime_endpoint.py
+2
-2
No files found.
python/sglang/lang/backend/runtime_endpoint.py
View file @
b216a545
...
@@ -43,7 +43,7 @@ class RuntimeEndpoint(BaseBackend):
...
@@ -43,7 +43,7 @@ class RuntimeEndpoint(BaseBackend):
def
flush_cache
(
self
):
def
flush_cache
(
self
):
res
=
http_request
(
res
=
http_request
(
self
.
base_url
+
"/flush_cache"
,
self
.
base_url
+
"/flush_cache"
,
a
uth_to
ke
n
=
self
.
a
uth_to
ke
n
,
a
pi_
ke
y
=
self
.
a
pi_
ke
y
,
verify
=
self
.
verify
,
verify
=
self
.
verify
,
)
)
self
.
_assert_success
(
res
)
self
.
_assert_success
(
res
)
...
@@ -51,7 +51,7 @@ class RuntimeEndpoint(BaseBackend):
...
@@ -51,7 +51,7 @@ class RuntimeEndpoint(BaseBackend):
def
get_server_args
(
self
):
def
get_server_args
(
self
):
res
=
http_request
(
res
=
http_request
(
self
.
base_url
+
"/get_server_args"
,
self
.
base_url
+
"/get_server_args"
,
a
uth_to
ke
n
=
self
.
a
uth_to
ke
n
,
a
pi_
ke
y
=
self
.
a
pi_
ke
y
,
verify
=
self
.
verify
,
verify
=
self
.
verify
,
)
)
self
.
_assert_success
(
res
)
self
.
_assert_success
(
res
)
...
...
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