From ea6ca76571324402adeef26540b38d95f9cbe048 Mon Sep 17 00:00:00 2001 From: tentru Date: Fri, 13 Dec 2024 09:46:05 -0700 Subject: [PATCH] wrap agent with commune module --- modules/crew/crew.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/crew/crew.py b/modules/crew/crew.py index 1d44f3ff..15057082 100644 --- a/modules/crew/crew.py +++ b/modules/crew/crew.py @@ -1,12 +1,12 @@ from crewai import Agent, Crew, Process, Task from crewai.project import CrewBase, agent, crew, task - +import commune as c # If you want to run a snippet of code before or after the crew starts, # you can use the @before_kickoff and @after_kickoff decorators # https://docs.crewai.com/concepts/crews#example-crew-class-with-decorators @CrewBase -class CrewAgent(): +class CrewAgent(c.Module): """CrewAgent crew""" # Learn more about YAML configuration files here: