Aggregate Context • AI Agent SDK

aggregate_context: Aggregate additional context from all results.

aggregate_context

Method

</div>

This is a method of the HookRunner class in the runner module.

Aggregate additional context from all results.

Signature

python
def aggregate_context(results: List[HookExecutionResult]) -> Optional[str]

Parameters

ParamField List[HookExecutionResult]

No description available.

Returns

ResponseField Optional[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/hooks/runner.py at line 635


Related Documentation