bstraehle commited on
Commit
760a68c
Β·
verified Β·
1 Parent(s): 0deccfd

Update agents/crew.py

Browse files
Files changed (1) hide show
  1. agents/crew.py +5 -4
agents/crew.py CHANGED
@@ -68,14 +68,15 @@ tracer_provider = register(
68
  logging.getLogger("openinference").setLevel(logging.CRITICAL)
69
  logging.getLogger("opentelemetry").setLevel(logging.CRITICAL)
70
 
71
- def _print_agent_config(agent_name: str, reasoning: bool, max_reasoning_attempts: int, max_iter: int, verbose: bool, llm: str, tools: str):
72
  print("")
73
  print(f"πŸ€– {agent_name} reasoning: {reasoning}")
74
  print(f"πŸ€– {agent_name} reasoning max attempts: {max_reasoning_attempts}")
75
  print(f"πŸ€– {agent_name} max iterations: {max_iter}")
76
  print(f"πŸ€– {agent_name} verbose: {verbose}")
77
- print(f"πŸ€– {agent_name} llm: {llm}")
78
- print(f"πŸ€– {agent_name} tools: {tools}")
 
79
 
80
  @CrewBase
81
  class GAIACrew():
@@ -288,7 +289,7 @@ class GAIACrew():
288
  print(f"πŸ€– Crew planning: {PLANNING_CREW}")
289
  print(f"πŸ€– Crew memory: {MEMORY_CREW}")
290
  print(f"πŸ€– Crew verbose: {VERBOSE_CREW}")
291
- print(f"πŸ€– Crew planning LLM: {LLM_CREW_PLANNING}")
292
 
293
  return Crew(
294
  agents=self.agents,
 
68
  logging.getLogger("openinference").setLevel(logging.CRITICAL)
69
  logging.getLogger("opentelemetry").setLevel(logging.CRITICAL)
70
 
71
+ def _print_agent_config(agent_name: str, reasoning: bool, max_reasoning_attempts: int, max_iter: int, verbose: bool, llm: str, tools: str = None):
72
  print("")
73
  print(f"πŸ€– {agent_name} reasoning: {reasoning}")
74
  print(f"πŸ€– {agent_name} reasoning max attempts: {max_reasoning_attempts}")
75
  print(f"πŸ€– {agent_name} max iterations: {max_iter}")
76
  print(f"πŸ€– {agent_name} verbose: {verbose}")
77
+ print(f"🧠 {agent_name} llm: {llm}")
78
+ if tools:
79
+ print(f"πŸ› οΈ {agent_name} tools: {tools}")
80
 
81
  @CrewBase
82
  class GAIACrew():
 
289
  print(f"πŸ€– Crew planning: {PLANNING_CREW}")
290
  print(f"πŸ€– Crew memory: {MEMORY_CREW}")
291
  print(f"πŸ€– Crew verbose: {VERBOSE_CREW}")
292
+ print(f"🧠 Crew planning LLM: {LLM_CREW_PLANNING}")
293
 
294
  return Crew(
295
  agents=self.agents,