feat:拆分子心流的思考模块
This commit is contained in:
17
src/heart_flow/chat_state_info.py
Normal file
17
src/heart_flow/chat_state_info.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from src.plugins.moods.moods import MoodManager
|
||||
import enum
|
||||
|
||||
|
||||
class ChatState(enum.Enum):
|
||||
ABSENT = "没在看群"
|
||||
CHAT = "随便水群"
|
||||
FOCUSED = "激情水群"
|
||||
|
||||
|
||||
class ChatStateInfo:
|
||||
def __init__(self):
|
||||
self.chat_status: ChatState = ChatState.ABSENT
|
||||
self.current_state_time = 120
|
||||
|
||||
self.mood_manager = MoodManager()
|
||||
self.mood = self.mood_manager.get_prompt()
|
||||
Reference in New Issue
Block a user