Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ version = "0.1.20"
description = "CodeInterpreterAPI is an (unofficial) open source python interface for the ChatGPT CodeInterpreter."
authors = [{ name = "Shroominic", email = "contact@shroominic.com" }]
dependencies = [
"langchain>=0.1, <0.2",
"langchain>=0.1",
"langchain_openai",
"codeboxapi==0.1.19",
"pyzmq==25.1.2",
"langchain-community>=0.0.20",
"langchain-core>=0.1",
]
license = { file = "LICENSE" }
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions src/codeinterpreterapi/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
ConversationalChatAgent,
)
from langchain.agents.openai_functions_agent.base import OpenAIFunctionsAgent
from langchain.callbacks.base import Callbacks
from langchain.chat_models.base import BaseChatModel
from langchain_core.callbacks import Callbacks
from langchain_core.language_models import BaseChatModel
from langchain.memory.buffer import ConversationBufferMemory
from langchain_community.chat_message_histories.in_memory import ChatMessageHistory
from langchain_community.chat_message_histories.postgres import (
Expand Down