MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / first

Method first

agent.py:133–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131
132 @staticmethod
133 def first():
134 with AgentContext._contexts_lock:
135 if not AgentContext._contexts:
136 return None
137 return list(AgentContext._contexts.values())[0]
138
139 @staticmethod
140 def all():

Callers 1

use_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected