Context Snapshot • AI Agent SDK

ContextSnapshot: A snapshot of the current context state.

ContextSnapshot

Defined in the models module.

AI Agent

A snapshot of the current context state.

Used for monitoring and debugging.

Properties

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField Optional[BudgetAllocation]

No description available.

ResponseField Optional[ContextLedger]

No description available.

ResponseField float

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField List

No description available.

ResponseField List[str]

No description available.

Internal & Generic Methods
  • to_dict: Convert to dictionary for JSON serialization.

Source

View on GitHub

praisonaiagents/context/models.py at line 151


Related Documentation