Skip to content

Commit 07a1f42

Browse files
mdrxyCopilot
andauthored
Update libs/core/langchain_core/language_models/llms.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5aaa88b commit 07a1f42

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • libs/core/langchain_core/language_models

libs/core/langchain_core/language_models/llms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ def _before_sleep(retry_state: RetryCallState) -> None:
102102
asyncio.run(coro)
103103
else:
104104
if loop.is_running():
105-
# TODO: Fix RUF006 - this task should have a reference
106-
# and be awaited somewhere
107105
task = loop.create_task(coro)
108106
_background_tasks.add(task)
109107
task.add_done_callback(_background_tasks.discard)

0 commit comments

Comments
 (0)