🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
fix: Token number error for GPT3.5 turbo (#780)
Wendong-Fane537a0e66ef2
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex c3fdf735e..4dc0ee7a6 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -27,7 +27,7 @@ body:attributes:label: What version of camel are you using?description: Run command `python3 -c 'print(__import__("camel").__version__)'` in your shell and paste the output here.- placeholder: E.g., 0.1.5.9+ placeholder: E.g., 0.1.6.0validations:required: truediff --git a/README.md b/README.mdindex 8d0840785..91fc98b67 100644--- a/README.md+++ b/README.md@@ -110,7 +110,7 @@ conda create --name camel python=3.9conda activate camel# Clone github repo-git clone -b v0.1.5.9 https://github.com/camel-ai/camel.git+git clone -b v0.1.6.0 https://github.com/camel-ai/camel.git# Change directory into project directorycd cameldiff --git a/camel/__init__.py b/camel/__init__.pyindex cb837c6f7..cd62f09dd 100644--- a/camel/__init__.py+++ b/camel/__init__.py@@ -12,7 +12,7 @@# limitations under the License.# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-__version__ = '0.1.5.9'+__version__ = '0.1.6.0'__all__ = ['__version__',diff --git a/camel/retrievers/auto_retriever.py b/camel/retrievers/auto_retriever.pyindex 8aaa272de..82783d829 100644--- a/camel/retrievers/auto_retriever.py+++ b/camel/retrievers/auto_retriever.py@@ -235,8 +235,6 @@ class AutoRetriever:else content_input_paths)- vr = VectorRetriever()-all_retrieved_info = []for content_input_path in content_input_paths:# Generate a valid collection namediff --git a/camel/types/enums.py b/camel/types/enums.pyindex 075cbfa18..840eff0cc 100644--- a/camel/types/enums.py+++ b/camel/types/enums.py@@ -208,7 +208,6 @@ class ModelType(Enum):# reference: https://lmsys.org/blog/2023-03-30-vicuna/return 2048elif self in {- ModelType.GPT_3_5_TURBO,ModelType.LLAMA_2,ModelType.NEMOTRON_4_REWARD,ModelType.STUB,@@ -226,7 +225,10 @@ class ModelType(Enum):ModelType.GLM_4_OPEN_SOURCE,}:return 8_192- elif self is ModelType.VICUNA_16K:+ elif self in {+ ModelType.GPT_3_5_TURBO,+ ModelType.VICUNA_16K,+ }:return 16_384elif self in {ModelType.GPT_4_32K,diff --git a/docs/conf.py b/docs/conf.pyindex 68e81df3c..26ac5f21a 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -27,7 +27,7 @@ sys.path.insert(0, os.path.abspath('..'))project = 'CAMEL'copyright = '2023, CAMEL-AI.org'author = 'CAMEL-AI.org'-release = '0.1.5.9'+release = '0.1.6.0'html_favicon = ('https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'diff --git a/docs/get_started/setup.md b/docs/get_started/setup.mdindex ebefa3796..12d40b8f9 100644--- a/docs/get_started/setup.md+++ b/docs/get_started/setup.md@@ -61,7 +61,7 @@ conda create --name camel python=3.10conda activate camel# Clone github repo-git clone -b v0.1.5.9 https://github.com/camel-ai/camel.git+git clone -b v0.1.6.0 https://github.com/camel-ai/camel.git# Change directory into project directorycd cameldiff --git a/pyproject.toml b/pyproject.tomlindex 50d0f1c19..0aed758b4 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"[tool.poetry]name = "camel-ai"-version = "0.1.5.9"+version = "0.1.6.0"authors = ["CAMEL-AI.org"]description = "Communicative Agents for AI Society Study"readme = "README.md"