Skip to content

Commit 979a26f

Browse files
committed
fix example
1 parent 776f374 commit 979a26f

File tree

1 file changed

+3
-6
lines changed
  • src/examples/crewai_example/simple_agent

1 file changed

+3
-6
lines changed

src/examples/crewai_example/simple_agent/main.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
import sys
2-
3-
sys.path.insert(0, '/Users/karthikkalyanaraman/work/langtrace/langtrace-python-sdk/src')
4-
51
from crewai import Crew
6-
from agents import PoetryAgents
7-
from tasks import PoetryTasks
2+
from .agents import PoetryAgents
3+
from .tasks import PoetryTasks
84
from langtrace_python_sdk import langtrace
95
from dotenv import load_dotenv
106

@@ -30,6 +26,7 @@ def run(self):
3026

3127

3228
# This is the main function that you will use to run your custom crew.
29+
# You can run this file using `python -m src.examples.crewai_example.simple_agent.main`
3330
if __name__ == "__main__":
3431
print("## Welcome to Poetry Crew")
3532
print("-------------------------------")

0 commit comments

Comments
 (0)