Update agents/crew.py
Browse files- agents/crew.py +6 -0
agents/crew.py
CHANGED
|
@@ -19,6 +19,7 @@ from crewai.agents.agent_builder.base_agent import BaseAgent
|
|
| 19 |
from crewai.project import CrewBase, agent, crew, task
|
| 20 |
from google import genai
|
| 21 |
from google.genai import types
|
|
|
|
| 22 |
from typing import List
|
| 23 |
from utils.utils import read_file_json, is_ext
|
| 24 |
|
|
@@ -26,6 +27,11 @@ VERBOSE_CREW = True
|
|
| 26 |
VERBOSE_MANAGER = False
|
| 27 |
VERBOSE_AGENT = False
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
@CrewBase
|
| 30 |
class GAIACrew():
|
| 31 |
agents: List[BaseAgent]
|
|
|
|
| 19 |
from crewai.project import CrewBase, agent, crew, task
|
| 20 |
from google import genai
|
| 21 |
from google.genai import types
|
| 22 |
+
from phoenix.otel import register
|
| 23 |
from typing import List
|
| 24 |
from utils.utils import read_file_json, is_ext
|
| 25 |
|
|
|
|
| 27 |
VERBOSE_MANAGER = False
|
| 28 |
VERBOSE_AGENT = False
|
| 29 |
|
| 30 |
+
tracer_provider = register(
|
| 31 |
+
project_name="gaia",
|
| 32 |
+
auto_instrument=True
|
| 33 |
+
)
|
| 34 |
+
|
| 35 |
@CrewBase
|
| 36 |
class GAIACrew():
|
| 37 |
agents: List[BaseAgent]
|