Skip to content

Commit

Permalink
wrap agent with commune module
Browse files Browse the repository at this point in the history
  • Loading branch information
tentru committed Dec 13, 2024
1 parent aaf8e6e commit ea6ca76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/crew/crew.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit ea6ca76

Please sign in to comment.