Skip to content

Commit 84e5b6c

Browse files
committed
fix: Agents panels now render Markdown (bold, headers, lists)
Changed Text() to Markdown() in agents.start() verbose output so **bold**, # headers, - lists render properly in multi-agent panels.
1 parent 5f00ddb commit 84e5b6c

File tree

1 file changed

+2
-1
lines changed
  • src/praisonai-agents/praisonaiagents/agents

1 file changed

+2
-1
lines changed

src/praisonai-agents/praisonaiagents/agents/agents.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,8 +1320,9 @@ def start(self, content=None, return_dict=False, output=None, **kwargs):
13201320
if result:
13211321
response_text = str(result.raw)
13221322
# No truncation - show full response in verbose mode
1323+
from rich.markdown import Markdown
13231324
console.print(Panel(
1324-
Text(response_text),
1325+
Markdown(response_text),
13251326
title=f"[bold]Agent [{idx}/{total_agents}] Complete ({elapsed:.1f}s)[/]",
13261327
border_style=PRAISON_COLORS["response"],
13271328
padding=(1, 2)

0 commit comments

Comments
 (0)