diff --git a/pyproject.toml b/pyproject.toml index 9e92007..97e474c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,12 @@ [project] name = "codeinterpreterapi" -version = "0.1.19" +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-openai>=0.1.1", - "langchain-community>=0.2", + "langchain>=0.1, <0.2", + "langchain_openai", "codeboxapi==0.1.19", - "langchain>=0.1.14", "pyzmq==25.1.2", ] license = { file = "LICENSE" } diff --git a/requirements-dev.lock b/requirements-dev.lock index 80536e5..0a2241e 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -74,6 +74,7 @@ colorama==0.4.6 comm==0.2.2 # via ipykernel dataclasses-json==0.6.7 + # via langchain # via langchain-community debugpy==1.8.7 # via ipykernel @@ -115,8 +116,6 @@ httpcore==1.0.6 httpx==0.27.2 # via langsmith # via openai -httpx-sse==0.4.0 - # via langchain-community identify==2.6.1 # via pre-commit idna==3.10 @@ -191,19 +190,18 @@ jupyter-server-terminals==0.5.3 # via jupyter-server jupyterlab-pygments==0.3.0 # via nbconvert -langchain==0.3.7 - # via codeinterpreterapi - # via langchain-community -langchain-community==0.3.5 +langchain==0.1.20 # via codeinterpreterapi -langchain-core==0.3.15 +langchain-community==0.0.38 + # via langchain +langchain-core==0.1.53 # via langchain # via langchain-community # via langchain-openai # via langchain-text-splitters -langchain-openai==0.2.5 +langchain-openai==0.1.7 # via codeinterpreterapi -langchain-text-splitters==0.3.2 +langchain-text-splitters==0.0.2 # via langchain langsmith==0.1.139 # via langchain @@ -276,13 +274,13 @@ numpy==1.26.4 # via pandas # via pydeck # via streamlit -openai==1.53.0 +openai==1.54.3 # via langchain-openai orjson==3.10.11 # via langsmith overrides==7.7.0 # via jupyter-server -packaging==24.1 +packaging==23.2 # via altair # via ipykernel # via jupyter-server @@ -345,7 +343,6 @@ pydantic-core==2.23.4 # via pydantic pydantic-settings==2.6.1 # via codeboxapi - # via langchain-community pydeck==0.9.1 # via streamlit pygments==2.18.0 @@ -438,7 +435,7 @@ stack-data==0.6.3 # via ipython streamlit==1.39.0 # via codeinterpreterapi -tenacity==9.0.0 +tenacity==8.5.0 # via langchain # via langchain-community # via langchain-core @@ -464,7 +461,7 @@ tornado==6.4.1 # via notebook # via streamlit # via terminado -tqdm==4.66.6 +tqdm==4.67.0 # via openai traitlets==5.14.3 # via comm @@ -486,7 +483,6 @@ typing-extensions==4.12.2 # via altair # via anyio # via ipython - # via langchain-core # via multidict # via mypy # via openai diff --git a/requirements.lock b/requirements.lock index 14bcaf1..78f1f9f 100644 --- a/requirements.lock +++ b/requirements.lock @@ -37,6 +37,7 @@ charset-normalizer==3.4.0 codeboxapi==0.1.19 # via codeinterpreterapi dataclasses-json==0.6.7 + # via langchain # via langchain-community distro==1.9.0 # via openai @@ -52,8 +53,6 @@ httpcore==1.0.6 httpx==0.27.2 # via langsmith # via openai -httpx-sse==0.4.0 - # via langchain-community idna==3.10 # via anyio # via httpx @@ -65,19 +64,18 @@ jsonpatch==1.33 # via langchain-core jsonpointer==3.0.0 # via jsonpatch -langchain==0.3.7 - # via codeinterpreterapi - # via langchain-community -langchain-community==0.3.5 +langchain==0.1.20 # via codeinterpreterapi -langchain-core==0.3.15 +langchain-community==0.0.38 + # via langchain +langchain-core==0.1.53 # via langchain # via langchain-community # via langchain-openai # via langchain-text-splitters -langchain-openai==0.2.5 +langchain-openai==0.1.7 # via codeinterpreterapi -langchain-text-splitters==0.3.2 +langchain-text-splitters==0.0.2 # via langchain langsmith==0.1.139 # via langchain @@ -93,11 +91,11 @@ mypy-extensions==1.0.0 numpy==1.26.4 # via langchain # via langchain-community -openai==1.53.0 +openai==1.54.3 # via langchain-openai orjson==3.10.11 # via langsmith -packaging==24.1 +packaging==23.2 # via langchain-core # via marshmallow propcache==0.2.0 @@ -113,7 +111,6 @@ pydantic-core==2.23.4 # via pydantic pydantic-settings==2.6.1 # via codeboxapi - # via langchain-community python-dotenv==1.0.1 # via pydantic-settings pyyaml==6.0.2 @@ -122,7 +119,7 @@ pyyaml==6.0.2 # via langchain-core pyzmq==25.1.2 # via codeinterpreterapi -regex==2024.9.11 +regex==2024.11.6 # via tiktoken requests==2.32.3 # via codeboxapi @@ -140,17 +137,16 @@ sniffio==1.3.1 sqlalchemy==2.0.35 # via langchain # via langchain-community -tenacity==9.0.0 +tenacity==8.5.0 # via langchain # via langchain-community # via langchain-core tiktoken==0.8.0 # via langchain-openai -tqdm==4.66.6 +tqdm==4.67.0 # via openai typing-extensions==4.12.2 # via anyio - # via langchain-core # via multidict # via openai # via pydantic