Skip to content

Commit bcaae3d

Browse files
committed
logging name of the agent
1 parent 91106da commit bcaae3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nextpy/ai/agent/multiagent_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def run_auto(self, context):
161161
next_agent = self._choose_next_agent()
162162
if self.debug_mode:
163163
print(
164-
f'{"-" * 5}Messaging next agent : {next_agent}{"-" * 5}\n\n')
164+
f'{"-" * 5}Messaging next agent : {next_agent.name}{"-" * 5}\n\n')
165165

166166
self._message_next_agent(next_agent)
167167
if self.debug_mode:

0 commit comments

Comments
 (0)