fix: model answers in channels fail with "Error: name 'copy' is not defined" (#35545)

Every model answer in a channel failed right away with "Error: name 'copy' is not defined", so a mentioned model never replied and automations that post into a channel ended each run with that error. A recent cleanup removed an import that channel replies still relied on. The import is restored, so model answers and automation runs in channels work again.

Fixes #35543
This commit is contained in:
Classic298 authored and GitHub committed 2026-12-03 01:19:18 +04:00
1 parent 9fb0444360
commit 7e4fcb0826
1 file changed
+1
+1
View File
@@ -1,6 +1,7 @@
from __future__ import annotations
import asyncio
import copy
import logging
import random
import sys