Spaces:
Running
Running
Update agents/crew.py
Browse files- agents/crew.py +3 -2
agents/crew.py
CHANGED
|
@@ -69,7 +69,7 @@ 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):
|
| 72 |
-
""
|
| 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}")
|
|
@@ -272,6 +272,7 @@ class GAIACrew():
|
|
| 272 |
|
| 273 |
@crew
|
| 274 |
def crew(self) -> Crew:
|
|
|
|
| 275 |
print(f"π€ Crew planning: {PLANNING_CREW}")
|
| 276 |
print(f"π€ Crew memory: {MEMORY_CREW}")
|
| 277 |
print(f"π€ Crew verbose: {VERBOSE_CREW}")
|
|
@@ -302,8 +303,8 @@ def _get_final_question(question, file_path):
|
|
| 302 |
|
| 303 |
def run_crew(question, file_path):
|
| 304 |
print("")
|
| 305 |
-
|
| 306 |
print(f"π€ Question: {question}")
|
|
|
|
| 307 |
|
| 308 |
final_question = _get_final_question(question, file_path)
|
| 309 |
|
|
|
|
| 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):
|
| 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}")
|
|
|
|
| 272 |
|
| 273 |
@crew
|
| 274 |
def crew(self) -> Crew:
|
| 275 |
+
print("")
|
| 276 |
print(f"π€ Crew planning: {PLANNING_CREW}")
|
| 277 |
print(f"π€ Crew memory: {MEMORY_CREW}")
|
| 278 |
print(f"π€ Crew verbose: {VERBOSE_CREW}")
|
|
|
|
| 303 |
|
| 304 |
def run_crew(question, file_path):
|
| 305 |
print("")
|
|
|
|
| 306 |
print(f"π€ Question: {question}")
|
| 307 |
+
print("")
|
| 308 |
|
| 309 |
final_question = _get_final_question(question, file_path)
|
| 310 |
|