修复依赖注入问题? (#17)

* 实现缓存装饰器,优化数据获取和存储逻辑

* 重构代码,准备将聊天请求逻辑移入MarshoHandler

* 记录点(

* unfinished

* 🎨 重写基本完毕

* 移除未使用import,添加漏掉的换行

* 修复依赖注入问题?
This commit is contained in:
Akarin~
2025-02-26 00:47:57 +08:00
committed by GitHub
parent aa53643aae
commit 1cd60252b5
4 changed files with 11 additions and 8 deletions

View File

@ -19,7 +19,7 @@ class SessionContext(BaseModel):
bot: Bot
event: Event
matcher: Matcher
# state: T_State
state: T_State | None
caller: Any = None
class Config: