Initialize Memory • AI Agent SDK

initialize_memory: Synchronous memory initialization with thread-safe locking

initialize_memory

Method

</div>

This is a method of the Task class in the task module.

Synchronous memory initialization with thread-safe locking

Signature

python
def initialize_memory() -> Any

Returns

ResponseField Any

The result of the operation.

Uses

  • threading.Lock
  • logger.info
  • Memory
  • exists
  • logger.error
  • logger.exception

Source

View on GitHub

praisonaiagents/task/task.py at line 572


Related Documentation