Reset Short Term • AI Agent SDK

reset_short_term: Completely clears short-term memory.

reset_short_term

Method

</div>

This is a method of the Memory class in the memory module.

Completely clears short-term memory.

Signature

python
def reset_short_term() -> Any

Returns

ResponseField Any

The result of the operation.

Uses

  • reset_short_term
  • logger.warning
  • conn.execute
  • conn.commit

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1038