Display Reasoning Steps • AI Agent SDK

display_reasoning_steps: Display reasoning steps with unique numbered circles.

display_reasoning_steps

Function

</div>

This function is defined in the main module.

Display reasoning steps with unique numbered circles.

Uses ①②③ numbered circles for a distinctive, scannable format that shows the agent’s thought process.

Signature

python
def display_reasoning_steps(steps: List[str], console: Any) -> Any

Parameters

ParamField List[str]

List of reasoning step descriptions

ParamField Any

Rich console for output

Returns

ResponseField Any

The result of the operation.

Uses

  • Console
  • Panel.fit
  • Text

Source

View on GitHub

praisonaiagents/main.py at line 516


Related Documentation