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:
parent
1c577130c3
commit
01021af9c2
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue