Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5ecf3e0a
Unverified
Commit
5ecf3e0a
authored
Jan 15, 2025
by
Yuan
Committed by
GitHub
Jan 15, 2025
Browse files
Misc: allow to use proxy in `HTTPConnection` (#12042)
Signed-off-by:
Yuan Zhou
<
yuan.zhou@intel.com
>
parent
97eb97b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/connections.py
vllm/connections.py
+1
-1
No files found.
vllm/connections.py
View file @
5ecf3e0a
...
...
@@ -29,7 +29,7 @@ class HTTPConnection:
# required, so that the client is only accessible inside async event loop
async
def
get_async_client
(
self
)
->
aiohttp
.
ClientSession
:
if
self
.
_async_client
is
None
or
not
self
.
reuse_client
:
self
.
_async_client
=
aiohttp
.
ClientSession
()
self
.
_async_client
=
aiohttp
.
ClientSession
(
trust_env
=
True
)
return
self
.
_async_client
...
...
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