Update name of function search_notes in error output (#92)

Signed-off-by: Amadeusz Wieczorek <git@amadeusw.com>
This commit is contained in:
Amadeusz Wieczorek
2025-04-14 09:06:15 -07:00
committed by GitHub
parent 9433065a57
commit 54dfa08aba
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ def format_not_found_message(identifier: str) -> str:
## Search Instead
Try searching for related content:
```
search(query="{identifier}")
search_notes(query="{identifier}")
```
## Recent Activity
@@ -172,7 +172,7 @@ def format_related_results(identifier: str, results) -> str:
## Search For More Results
To see more related content:
```
search(query="{identifier}")
search_notes(query="{identifier}")
```
## Create New Note
+1 -1
View File
@@ -267,7 +267,7 @@ async def test_read_note_text_search_fallback(mock_call_get, mock_search):
assert "Related Note 1" in result
assert "Related Note 2" in result
assert 'read_note("notes/related-note-1")' in result
assert "search(query=" in result
assert "search_notes(query=" in result
assert "write_note(" in result