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

Method current

agent.py:122–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121 @staticmethod
122 def current():
123 ctxid = context_helper.get_context_data("agent_context_id", "")
124 if not ctxid:
125 return None
126 return AgentContext.get(ctxid)
127
128 @staticmethod
129 def set_current(ctxid: str):

Callers 2

_mask_recursiveMethod · 0.80
get_secrets_managerFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected