Spaces:
Sleeping
Sleeping
Commit
·
730dacc
1
Parent(s):
37e3b94
Update crewai/agent.py
Browse files- crewai/agent.py +0 -7
crewai/agent.py
CHANGED
@@ -1,13 +1,6 @@
|
|
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 |
-
from langchain_community.chat_models import ChatOpenAI
|
11 |
|
12 |
from langchain.agents.format_scratchpad import format_log_to_str
|
13 |
from langchain.memory import ConversationSummaryMemory
|
|
|
1 |
import uuid
|
2 |
from typing import Any, List, Optional
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
from langchain.agents.format_scratchpad import format_log_to_str
|
6 |
from langchain.memory import ConversationSummaryMemory
|