eaglelandsonce commited on
Commit
66682e2
1 Parent(s): 1e4b405

Update crewai/agent.py

Browse files
Files changed (1) hide show
  1. crewai/agent.py +9 -2
crewai/agent.py CHANGED
@@ -1,7 +1,14 @@
1
  import uuid
2
  from typing import Any, List, Optional
3
-
4
- from langchain_openai.chat_models import ChatOpenAI
 
 
 
 
 
 
 
5
 
6
  from langchain.agents.format_scratchpad import format_log_to_str
7
  from langchain.memory import ConversationSummaryMemory
 
1
  import uuid
2
  from typing import Any, List, Optional
3
+ '''
4
+ from langchain.prompts.chat import (
5
+ ChatPromptTemplate,
6
+ HumanMessagePromptTemplate,
7
+ SystemMessagePromptTemplate,
8
+ )
9
+ from langchain.schema import HumanMessage, SystemMessage
10
+ '''
11
+ from langchain_community.chat_models import ChatOpenAI
12
 
13
  from langchain.agents.format_scratchpad import format_log_to_str
14
  from langchain.memory import ConversationSummaryMemory