LLM 胜利了!!!!!!

This commit is contained in:
2025-11-21 16:13:38 +08:00
parent 3e5c1941c8
commit 6f08c22b5b
8 changed files with 149 additions and 59 deletions

View File

@ -10,7 +10,7 @@ from .ptime_ast import (
TimeExpressionNode, DateNode, TimeNode,
RelativeDateNode, RelativeTimeNode, WeekdayNode, NumberNode
)
from .err import TokenUnhandledException, MultipleSpecificationException
from .err import TokenUnhandledException
class SemanticAnalyzer:
@ -366,4 +366,4 @@ class SemanticAnalyzer:
smart_time = self.infer_smart_time(time.hour, time.minute, time.second, base_time=result)
result = smart_time
return result
return result