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

Method clear

core/preferences.py:520–524  ·  view source on GitHub ↗

Clear all learned preferences.

(self)

Source from the content-addressed store, hash-verified

518 return 0.0
519
520 def clear(self):
521 """Clear all learned preferences."""
522 self._cache = {}
523 self.state.delete("user_preferences")
524 info("Preferences cleared")
525
526 def status(self) -> Dict[str, Any]:
527 """Get preference status."""

Callers

nothing calls this directly

Calls 2

infoFunction · 0.90
deleteMethod · 0.80

Tested by

no test coverage detected