Update agent.py

frdel committed Jun 23, 2025 at 20:55 UTC a6a83a48eaece27f11bb75d453e6a395fe9f05b1
1 file changed +1 -1
agent.py
+1 -1
@@ -296,7 +296,7 @@ class Agent:
296 self.config = config
297
298 # agent context
299 - self.context = context or AgentContext(config)
299 + self.context = context or AgentContext(config=config, agent0=self)
300
301 # non-config vars
302 self.number = number