v0.3.1 实装了记忆系统和自动发言

哈哈哈
This commit is contained in:
SengokuCola
2025-03-02 00:14:25 +08:00
parent ba5837503e
commit 50c1765b81
19 changed files with 732 additions and 327 deletions

View File

@@ -4,7 +4,7 @@ import asyncio
import requests
from functools import partial
from .message import Message
from .config import BotConfig
from .config import BotConfig, global_config
from ...common.database import Database
import random
import time
@@ -255,4 +255,4 @@ class LLMResponseGenerator:
return processed_response, emotion_tags
# 创建全局实例
llm_response = LLMResponseGenerator(config=BotConfig())
llm_response = LLMResponseGenerator(global_config)