mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-08-28 08:40:25 +02:00
Fix agent initialization order for memory manager
This commit is contained in:
@@ -89,6 +89,12 @@ class FuzzForgeAgent:
|
|||||||
default_service_url=service_url,
|
default_service_url=service_url,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Create Hybrid Memory Manager (ADK + Cognee direct integration)
|
||||||
|
self.memory_manager = HybridMemoryManager(
|
||||||
|
memory_service=self.memory_service,
|
||||||
|
cognee_tools=self.cognee_tools,
|
||||||
|
)
|
||||||
|
|
||||||
# Create the executor (the brain) with memory and session services
|
# Create the executor (the brain) with memory and session services
|
||||||
self.executor = FuzzForgeExecutor(
|
self.executor = FuzzForgeExecutor(
|
||||||
model=self.model,
|
model=self.model,
|
||||||
@@ -100,12 +106,6 @@ class FuzzForgeAgent:
|
|||||||
fuzzforge_mcp_url=os.getenv('FUZZFORGE_MCP_URL'),
|
fuzzforge_mcp_url=os.getenv('FUZZFORGE_MCP_URL'),
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create Hybrid Memory Manager (ADK + Cognee direct integration)
|
|
||||||
self.memory_manager = HybridMemoryManager(
|
|
||||||
memory_service=self.memory_service,
|
|
||||||
cognee_tools=self.cognee_tools,
|
|
||||||
)
|
|
||||||
|
|
||||||
# Get the agent card (the identity)
|
# Get the agent card (the identity)
|
||||||
self.agent_card = get_fuzzforge_agent_card(f"http://localhost:{self.port}")
|
self.agent_card = get_fuzzforge_agent_card(f"http://localhost:{self.port}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user