mf1
This commit is contained in:
@@ -141,6 +141,9 @@ def get_notes_containing(patterns: Union[list[str], str]) -> str:
|
||||
ret += f"{datetime.strftime(entry.time, '%Y/%m/%d %H:%M')} {entry.content}"
|
||||
is_first = False
|
||||
|
||||
if ret == "":
|
||||
ret = "No matching notes were found. Try diffrent patterns."
|
||||
|
||||
return ret
|
||||
|
||||
@tool
|
||||
|
||||
Reference in New Issue
Block a user