Skip to content

Commit

Permalink
Merge pull request #23 from superagentxai/dev
Browse files Browse the repository at this point in the history
Updated debug
  • Loading branch information
RaghavPrabhu authored Nov 25, 2024
2 parents 0ace068 + 03404e3 commit 893e81f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion superagentx/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def __init__(
f'Id : {self.agent_id}\n'
f'Name : {self.name}\n'
f'Description : {self.description}\n'
f'Engines Associated : {",".join([str(_engine.handler.__class__) for _engine in self.engines])}\n'
f'Engines Associated : {",".join([str(_engine) for _engine in self.engines])}\n'
f'Engine Role : {self.role}\nEngine Goal: {self.goal}\n'
f'LLM Client : {self.llm.llm_config}\n'
f'Prompt Template : Type - {self.prompt_template.prompt_type} '
Expand Down
3 changes: 3 additions & 0 deletions superagentx/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def __init__(
self.tools = tools
self.output_parser = output_parser

def __str__(self):
return f'Engine {self.handler.__class__}'

async def __funcs_props(
self,
funcs: list[str]
Expand Down

0 comments on commit 893e81f

Please sign in to comment.