Merge pull request #25 from SengokuCola/main

拉配置修改
This commit is contained in:
SengokuCola
2025-03-02 11:28:29 +08:00
committed by GitHub
16 changed files with 65 additions and 127 deletions

View File

@@ -10,7 +10,6 @@ import random
import time
import os
import numpy as np
from dotenv import load_dotenv
from .relationship_manager import relationship_manager
from ..schedule.schedule_generator import bot_schedule
from .prompt_builder import prompt_builder
@@ -18,11 +17,6 @@ from .config import llm_config, global_config
from .utils import process_llm_response
# 获取当前文件的绝对路径
current_dir = os.path.dirname(os.path.abspath(__file__))
root_dir = os.path.abspath(os.path.join(current_dir, '..', '..', '..'))
load_dotenv(os.path.join(root_dir, '.env'))
class LLMResponseGenerator:
def __init__(self, config: BotConfig):
self.config = config