fix: update FastMCP initialization for API changes

- Remove deprecated auth_server_provider parameter
- Use auth parameter correctly with OAuthProvider instead of AuthSettings
- Fixes type error after dependency updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
phernandez
2025-06-03 09:08:17 -05:00
parent c13d4b1511
commit ac08a8d024
22 changed files with 135 additions and 90 deletions
+2 -1
View File
@@ -22,6 +22,7 @@ from basic_memory.config import WATCH_STATUS_JSON
from basic_memory.utils import generate_permalink
from basic_memory.config import config_manager
class ProjectService:
"""Service for managing Basic Memory projects."""
@@ -545,4 +546,4 @@ class ProjectService:
database_size=db_size_readable,
watch_status=watch_status,
timestamp=datetime.now(),
)
)
+1 -1
View File
@@ -148,7 +148,7 @@ class SearchService:
# If parsing fails, treat as single tag
return [tags] if tags.strip() else []
return [] # pragma: no cover
return [] # pragma: no cover
async def index_entity(
self,