mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 03:32:33 +08:00
feat: 删除部分插件事件
This commit is contained in:
parent
6b76adc00e
commit
e2de3d0102
|
@ -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预处理时触发"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user