refactor: 客服agent的切片结构调整重构

This commit is contained in:
2026-09-11 17:31:16 +08:00
parent b1b764eac9
commit e561c97a4e
20 changed files with 3309 additions and 230 deletions
+1
View File
@@ -24,6 +24,7 @@ def client() -> aioredis.Redis:
retry=Retry(FullJitterBackoff(base=1, cap=10), retries=3),
max_connections=settings.redis.max_connections,
decode_responses=True,
protocol=2, # redis-py 8 默认 RESP3(HELLO 3),Redis < 6.0 不支持
)
return _client