Skip to main content

idle_days

Method
This is a method of the SkillProperties class in the models module.
Days since the skill was last used (or created if never used). Returns None when no timestamp is available. Used by lifecycle curator plugins to decide active -> stale -> archived transitions.

Signature

Returns

Optional[float]
The result of the operation.

Uses

  • datetime.fromisoformat
  • datetime.now
  • delta.total_seconds

Source

View on GitHub

praisonaiagents/skills/models.py at line 235