Skip to content

Commit

Permalink
Fix warnings for langchain imports
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower committed Oct 25, 2023
1 parent 55fcf07 commit 7245638
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from chatarena.environments import TimeStep
from chatarena.message import Message, MessagePool
from langchain import PromptTemplate
from langchain.prompts import PromptTemplate

from chatarena.environments.umshini.base import UmshiniBaseEnv

Expand Down
2 changes: 1 addition & 1 deletion chatarena/environments/umshini/symmetric_deception.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from chatarena.environments import TimeStep
from chatarena.message import Message, MessagePool
from langchain import PromptTemplate
from langchain.prompts import PromptTemplate

from chatarena.environments.umshini.base import UmshiniBaseEnv

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/umshini/debate_langchain.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Simple example of running the Umshini debate environment locally using LangChain agents. This can be used to test agents before participating in a tournament."""
from langchain import OpenAI
from langchain.llms import OpenAI
from langchain.agents import AgentType, initialize_agent
from langchain.memory import ConversationBufferMemory

Expand Down

0 comments on commit 7245638

Please sign in to comment.