diff --git a/plugins/filters/async-context-compression/异步上下文压缩.py b/plugins/filters/async-context-compression/异步上下文压缩.py index 7aa97c4..e103d6d 100644 --- a/plugins/filters/async-context-compression/异步上下文压缩.py +++ b/plugins/filters/async-context-compression/异步上下文压缩.py @@ -746,7 +746,7 @@ class Filter: # 计算当前总 Token (使用摘要模型进行计数) total_tokens = await asyncio.to_thread( - self._calculate_messages_tokens, messages, summary_model_id + self._calculate_messages_tokens, messages ) if total_tokens > max_context_tokens: