fix: Add missing semaphore_limit attribute to GraphitiService

The GraphitiService.__init__ was accepting semaphore_limit as a parameter but not storing it as an instance attribute, causing an AttributeError when trying to access self.semaphore_limit in the initialize method.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Daniel Chalef 2025-08-26 20:16:24 -07:00
parent 1c577130c3
commit 01021af9c2

View file

@ -110,6 +110,7 @@ class GraphitiService:
def __init__(self, config: GraphitiConfig, semaphore_limit: int = 10):
self.config = config
self.semaphore_limit = semaphore_limit
self.semaphore = asyncio.Semaphore(semaphore_limit)
self.client: Graphiti | None = None
self.entity_types = None