Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored and akhatua2 committed Nov 15, 2024
1 parent a683e85 commit 49eb45b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/experimental/llm_agent/llm_agent.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ node_class = "chat_print"
"Agent:Runtime" = "agent_action"

[nodes.node_args]
env_agents = ["Jack", "Jane"]
env_agents = ["Jack", "Jane"]
10 changes: 7 additions & 3 deletions sotopia/experimental/nodes/chat_print_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from rich.logging import RichHandler

from aact import NodeFactory
from aact.nodes import PrintNode
from aact.nodes import PrintNode

console = Console()

Expand Down Expand Up @@ -72,7 +72,11 @@ def convert_to_sentence(self, data: Dict[str, Any], agent_name: str) -> None:
except Exception as e:
console.print(
Panel(
RichText(f"Error processing write action: {e}", style="bold red", justify="center"),
RichText(
f"Error processing write action: {e}",
style="bold red",
justify="center",
),
title="Error",
expand=False,
border_style="red",
Expand Down Expand Up @@ -240,4 +244,4 @@ async def write_to_screen(self) -> None:
else:
print("Invalid data structure:", data)

await self.output.flush()
await self.output.flush()

0 comments on commit 49eb45b

Please sign in to comment.