forked from phoenix/litellm-mirror
fix: fix linting error
This commit is contained in:
parent
0b057cb8a4
commit
ed42b55a84
1 changed files with 1 additions and 2 deletions
|
@ -3133,8 +3133,7 @@ class Router:
|
|||
|
||||
try:
|
||||
# First, try to get the current event loop
|
||||
loop = asyncio.get_running_loop()
|
||||
|
||||
_ = asyncio.get_running_loop()
|
||||
# If we're already in an event loop, run in a separate thread
|
||||
# to avoid nested event loop issues
|
||||
with ThreadPoolExecutor(max_workers=1) as executor:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue