Merge pull request #18 from HYY1116/main

chore:修改toml配置文件位置,增加默认配置文件,修改docs
This commit is contained in:
SengokuCola
2025-03-01 21:16:55 +08:00
committed by GitHub
9 changed files with 47 additions and 35 deletions

View File

@@ -29,7 +29,10 @@ Database.initialize(
class ScheduleGenerator:
def __init__(self):
self.llm_scheduler = LLMModel(model_name="Pro/deepseek-ai/DeepSeek-V3")
if global_config.API_USING == "siliconflow":
self.llm_scheduler = LLMModel(model_name="Pro/deepseek-ai/DeepSeek-V3")
elif global_config.API_USING == "deepseek":
self.llm_scheduler = LLMModel(model_name="deepseek-chat",api_using="deepseek")
self.db = Database.get_instance()
today = datetime.datetime.now()