Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

chore: update enable_tool_output_cache default value (#3274)

Wendong-Fanea137f17adff
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index ad0b0862f..d917c1e99 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.76
+ placeholder: E.g., 0.2.77
validations:
required: true
diff --git a/camel/__init__.py b/camel/__init__.py
index 89683c31b..887b2fef1 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.76'
+__version__ = '0.2.77'
__all__ = [
'__version__',
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.py
index 4b953dd9a..61ee83f65 100644
--- a/camel/agents/chat_agent.py
+++ b/camel/agents/chat_agent.py
@@ -456,7 +456,7 @@ class ChatAgent(BaseAgent):
historical tool outputs to a local cache and replace them with
lightweight references in memory. Only older tool results whose
payload length exceeds ``tool_output_cache_threshold`` are cached.
- (default: :obj:`True`)
+ (default: :obj:`False`)
tool_output_cache_threshold (int, optional): Minimum character length
of a tool result before it becomes eligible for caching. Values
below or equal to zero disable caching regardless of the toggle.
@@ -516,7 +516,7 @@ class ChatAgent(BaseAgent):
mask_tool_output: bool = False,
pause_event: Optional[Union[threading.Event, asyncio.Event]] = None,
prune_tool_calls_from_memory: bool = False,
- enable_tool_output_cache: bool = True,
+ enable_tool_output_cache: bool = False,
tool_output_cache_threshold: int = 2000,
tool_output_cache_dir: Optional[Union[str, Path]] = None,
retry_attempts: int = 3,
diff --git a/docs/conf.py b/docs/conf.py
index 42583bc2a..18caf2526 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.76'
+release = '0.2.77'
html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
diff --git a/pyproject.toml b/pyproject.toml
index 0793707d8..e200241fc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "camel-ai"
-version = "0.2.76"
+version = "0.2.77"
description = "Communicative Agents for AI Society Study"
authors = [{ name = "CAMEL-AI.org" }]
requires-python = ">=3.10,<3.13"
diff --git a/uv.lock b/uv.lock
index 0425bcedd..497fc7c7b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -629,7 +629,7 @@ wheels = [
[[package]]
name = "camel-ai"
-version = "0.2.76"
+version = "0.2.77"
source = { editable = "." }
dependencies = [
{ name = "astor" },
@@ -3992,7 +3992,7 @@ wheels = [
[[package]]
name = "litellm"
-version = "1.77.7"
+version = "1.78.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "aiohttp" },
@@ -4008,9 +4008,9 @@ dependencies = [
{ name = "tiktoken" },
{ name = "tokenizers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5a/4b/4e9a204462687ca3796cc0fdaefbd624d7b2216edd4ad243d60a3b95127e/litellm-1.77.7.tar.gz", hash = "sha256:e3398fb2575b98726e787c0a1481daed5938d58cafdcd96fbca80c312221af3e", size = 10401706, upload-time = "2025-10-05T00:22:37.646Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/fd/3e/1a96a3caeeb6092d85e70904e2caa98598abb7179cefe734e2fbffac6978/litellm-1.78.0.tar.gz", hash = "sha256:020e40e0d6e16009bb3a6b156d4c1d98cb5c33704aa340fdf9ffd014bfd31f3b", size = 10684595, upload-time = "2025-10-11T19:28:27.369Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/86/50/53df2244d4aca2af73d2f2c6ad21c731cf24bd0dbe89d896184a1eaa874f/litellm-1.77.7-py3-none-any.whl", hash = "sha256:1b3a1b17bd521a0ad25226fb62a912602c803922aabb4a16adf83834673be574", size = 9223061, upload-time = "2025-10-05T00:22:34.112Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/fb/38a48efe3e05a8e9a9765b991740282e0358a83fb896ec00d70bf1448791/litellm-1.78.0-py3-none-any.whl", hash = "sha256:a9d6deee882de8df38ca24beb930689f49209340137ff8a3dcab0c5fc4a0513d", size = 9677983, upload-time = "2025-10-11T19:28:23.242Z" },
]
[[package]]