Skip to content

Agent Zero AI framework

Update agent.py

frdela6a83a48eaec
diff --git a/agent.py b/agent.py
index 631b82b88..38aae95bc 100644
--- a/agent.py
+++ b/agent.py
@@ -296,7 +296,7 @@ class Agent:
self.config = config
# agent context
- self.context = context or AgentContext(config)
+ self.context = context or AgentContext(config=config, agent0=self)
# non-config vars
self.number = number