feat: 删除部分插件事件

This commit is contained in:
RockChinQ 2024-01-30 17:47:03 +08:00
parent 6b76adc00e
commit e2de3d0102

View File

@ -157,20 +157,6 @@ class NormalMessageResponded(BaseEventModel):
"""回复消息组件列表"""
class ConversationFirstMessageReceived(BaseEventModel):
"""会话中收到第一条消息时触发"""
session_name: str
session: core_entities.Session
default_prompt: str
SessionFirstMessageReceived = ConversationFirstMessageReceived
"""[过时]"""
class SessionExplicitReset(BaseEventModel):
"""会话被显式重置时触发"""
@ -189,18 +175,6 @@ class SessionExpired(BaseEventModel):
session_expire_time: int
class KeyExceeded(BaseEventModel):
"""[过时]会话中使用的Key超过限制时触发"""
key_name: str
class KeySwitched(BaseEventModel):
"""[过时]会话中使用的Key切换时触发"""
key_name: str
class PromptPreProcessing(BaseEventModel):
"""会话中的Prompt预处理时触发"""