fix: Update type hints to use newer Python syntax
- Replace Dict, List, Optional with dict, list, < /dev/null | None syntax - Fix abstract method implementation in message.py - Improve type annotations and function return types - Remove unreachable code in get_current_task_tool.py - Refactor HTML elements to use style attributes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import datetime
|
||||
import os
|
||||
import sys
|
||||
from typing import Dict
|
||||
import asyncio
|
||||
from dateutil import tz
|
||||
|
||||
@@ -162,7 +161,7 @@ class ScheduleGenerator:
|
||||
async def generate_daily_schedule(
|
||||
self,
|
||||
target_date: datetime.datetime = None,
|
||||
) -> Dict[str, str]:
|
||||
) -> dict[str, str]:
|
||||
daytime_prompt = self.construct_daytime_prompt(target_date)
|
||||
daytime_response, _ = await self.llm_scheduler_all.generate_response_async(daytime_prompt)
|
||||
return daytime_response
|
||||
|
||||
Reference in New Issue
Block a user