Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jul 12, 2024
1 parent df22798 commit 34aec08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crewai_components/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from langchain_groq import ChatGroq
load_dotenv(override=True)

llm = ChatGroq(temperature=0, model_name="Llama3-8b-8192")
llm = ChatGroq(temperature=0.2, model_name="Llama3-8b-8192")

#define agents

Expand Down
6 changes: 1 addition & 5 deletions crewai_components/tasks.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
from crewai import Task
from crewai_components.agents import researcher, writer, planner, github_developer, editor
from crewai_components.tools import TurnOnEC2
from crewai_tools import SerperDevTool
from crewai_components.tools import github_tools, search_tool
from dotenv import load_dotenv
load_dotenv(override=True)

search_tool = SerperDevTool()
turn_on_ec2_tool = TurnOnEC2()


#Tasks

Expand Down
2 changes: 1 addition & 1 deletion crewai_components/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
search_tool = SerperDevTool()

# Initialize the tool for semantic searches within a specific GitHub repository
github_tool = GithubSearchTool(
github_tools = GithubSearchTool(
github_repo=os.getenv('GITHUB_REPO'),
content_types=['code', 'repo'], # Options: code, repo, pr, issue
)

0 comments on commit 34aec08

Please sign in to comment.