process
Method
This is a method of the ContextManager class in the manager module.Process messages through the context pipeline. Applies budgeting, optimization, and monitoring.
Signature
Parameters
List
required
Conversation messages
str
default:"''"
System prompt content
Optional
Tool schemas
Literal
default:"'turn'"
What triggered this processing
Returns
Dict[str, Any]
Dict with processed messages and metadata
Uses
resettrack_system_prompttrack_toolstrack_historyget_utilizationget_totalget_warningsestimate_messages_tokens
Source
View on GitHub
praisonaiagents/context/manager.py at line 391
