diff --git a/myllm/main.py b/myllm/main.py index 3b2ef2e8..5b954ef4 100644 --- a/myllm/main.py +++ b/myllm/main.py @@ -1,5 +1,5 @@ """ - + MYLLM Main 🤖 """ @@ -7,8 +7,9 @@ import asyncio import importlib from typing import Any, List, Mapping, Optional -import nest_asyncio + import g4f +import nest_asyncio from g4f import Provider from langchain.chains import ConversationChain from langchain.llms.base import LLM diff --git a/pyproject.toml b/pyproject.toml index a9f26edb..ac166c82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ loguru = ">=0.6.0" httpx = ">=0.24.1" js2py = "^0.74" g4f = "^0.0.2.6" -langchain = "^0.0.285" +langchain = "^0.0.293" nest_asyncio = "*" @@ -71,8 +71,8 @@ pytest-loguru = "^0.2.0" optional = true [tool.poetry.group.docs.dependencies] -sphinx = "7.2.4" -pydata-sphinx-theme = "^0.13.3" +sphinx = "7.2.6" +pydata-sphinx-theme = "^0.14.0" sphinx-hoverxref = "^1.3.0" sphinx_copybutton = "0.5.2" myst_parser = "^2.0.0"