完成其他部分对返回值处理的修改

This commit is contained in:
UnCLAS-Prommer
2025-03-20 17:08:53 +08:00
parent e9bd3196ba
commit a973057579
4 changed files with 6 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ class ScheduleGenerator:
)
try:
schedule_text, _ = await self.llm_scheduler.generate_response(prompt)
schedule_text, _, _ = await self.llm_scheduler.generate_response(prompt)
db.schedule.insert_one({"date": date_str, "schedule": schedule_text})
self.enable_output = True
except Exception as e: