Skip to content

Commit c8d2ea6

Browse files
committed
Update agent_base.py
1 parent a4c7394 commit c8d2ea6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/backend/kernel_agents/agent_base.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ def __init__(
110110
# Required properties for AgentGroupChat compatibility
111111
self.name = agent_name # This is crucial for AgentGroupChat to identify agents
112112

113-
# Log initialization
114-
logging.info(f"Initialized {agent_name} with {len(self._tools)} tools")
115113

116114
# Register the handler functions
117115
self._register_functions()
@@ -541,11 +539,6 @@ def get_tools_from_config(cls, kernel: sk.Kernel, agent_type: str, config_path:
541539
except Exception as e:
542540
logging.error(f"Failed to create tool '{tool.get('name', 'unknown')}': {str(e)}")
543541

544-
# Log the total number of tools created
545-
if kernel_functions:
546-
logging.info(f"Created {len(kernel_functions)} tools for agent type '{agent_type}'")
547-
else:
548-
logging.info(f"No tools were successfully created for agent type '{agent_type}'")
549542

550543
return kernel_functions
551544

0 commit comments

Comments
 (0)