🐫 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
release: fix unit test and release 0.2.53 (#2330)
Wendong-Fan49c0d4ef6bad
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex 01197f33c..a203910d0 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -26,7 +26,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.2.52+ placeholder: E.g., 0.2.53validations:required: truediff --git a/camel/__init__.py b/camel/__init__.pyindex 169d7e962..8f9b2db2d 100644--- a/camel/__init__.py+++ b/camel/__init__.py@@ -14,7 +14,7 @@from camel.logger import disable_logging, enable_logging, set_log_level-__version__ = '0.2.52'+__version__ = '0.2.53'__all__ = ['__version__',diff --git a/docs/conf.py b/docs/conf.pyindex a84b6d877..79583bea0 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -27,7 +27,7 @@ sys.path.insert(0, os.path.abspath('..'))project = 'CAMEL'copyright = '2024, CAMEL-AI.org'author = 'CAMEL-AI.org'-release = '0.2.52'+release = '0.2.53'html_favicon = ('https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'diff --git a/docs/key_modules/loaders.md b/docs/key_modules/loaders.mdindex f7c3e8d09..c5ec3e464 100644--- a/docs/key_modules/loaders.md+++ b/docs/key_modules/loaders.md@@ -340,14 +340,14 @@ response = jina_reader.read_content("https://docs.camel-ai.org/")print(response)``````markdown->>>Welcome to CAMEL’s documentation! — CAMEL 0.2.52 documentation+>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.53 documentation===============[Skip to main content](https://docs.camel-ai.org/#main-content)Back to top Ctrl+K- [ CAMEL 0.2.52](https://docs.camel-ai.org/#)+ [ CAMEL 0.2.53](https://docs.camel-ai.org/#)Search Ctrl+Kdiff --git a/examples/test/test_single_agent.py b/examples/test/test_single_agent.pyindex b55d9efef..27a732541 100644--- a/examples/test/test_single_agent.py+++ b/examples/test/test_single_agent.py@@ -13,11 +13,11 @@# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytest+import examples.agents.single_agentimport examples.code.generate_meta_dataimport examples.code.task_generationimport examples.evaluation.single_agentimport examples.misalignment.single_agent-import examples.single_agentfrom camel.models import ModelFactoryfrom camel.types import ModelPlatformType, ModelType@@ -35,7 +35,7 @@ parametrize = pytest.mark.parametrize(@parametrizedef test_single_agent(model):- examples.single_agent.main(model=model)+ examples.agents.single_agent.main(model=model)@pytest.mark.parametrize(diff --git a/pyproject.toml b/pyproject.tomlindex 24a27e37e..967b184f8 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "hatchling.build"[project]name = "camel-ai"-version = "0.2.52"+version = "0.2.53"description = "Communicative Agents for AI Society Study"authors = [{ name = "CAMEL-AI.org" }]requires-python = ">=3.10,<3.13"diff --git a/test/agents/test_chat_agent.py b/test/agents/test_chat_agent.pyindex a54b17e7c..1e33bd95f 100644--- a/test/agents/test_chat_agent.py+++ b/test/agents/test_chat_agent.py@@ -696,15 +696,7 @@ def test_chat_agent_multiple_return_message_error(n, step_call_count=3):)for _ in range(step_call_count):assistant_response = assistant.step(user_msg)-- with pytest.raises(- RuntimeError,- match=(- "Property msg is only available "- "for a single message in msgs."- ),- ):- _ = assistant_response.msg+ assert assistant_response.msg is None@pytest.mark.model_backenddiff --git a/test/toolkits/test_aci_toolkit.py b/test/toolkits/test_aci_toolkit.pyindex 00acb40b7..78e9ffeaa 100644--- a/test/toolkits/test_aci_toolkit.py+++ b/test/toolkits/test_aci_toolkit.py@@ -249,8 +249,7 @@ def test_get_tools(mock_aci):result = toolkit.get_tools()# Verify results- assert len(result) == 1- assert result[0].get_function_name() == "test_function"+ assert len(result) == 14mock_client.app_configurations.list.assert_called_once()mock_client.functions.search.assert_called_once()mock_client.functions.get_definition.assert_called_once_with(diff --git a/uv.lock b/uv.lockindex 7116c275d..95db79f92 100644--- a/uv.lock+++ b/uv.lock@@ -555,7 +555,7 @@ wheels = [[[package]]name = "camel-ai"-version = "0.2.52"+version = "0.2.53"source = { editable = "." }dependencies = [{ name = "colorama" },