MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / _get_learning

Function _get_learning

core/agent.py:21–26  ·  view source on GitHub ↗

Get learning manager singleton.

()

Source from the content-addressed store, hash-verified

19_learning = None
20
21def _get_learning():
22 """Get learning manager singleton."""
23 global _learning
24 if _learning is None:
25 _learning = get_learning_manager()
26 return _learning
27
28def _note_save(args):
29 from core.notes import add_note

Callers 2

execute_toolFunction · 0.85
run_agentFunction · 0.85

Calls 1

get_learning_managerFunction · 0.90

Tested by

no test coverage detected