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

fix: mistral timeout setting

Wendongd8ae268834d8
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index a203910d0..21550740b 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.53
+ placeholder: E.g., 0.2.54
validations:
required: true
diff --git a/camel/__init__.py b/camel/__init__.py
index 8f9b2db2d..d313cd91d 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.53'
+__version__ = '0.2.54'
__all__ = [
'__version__',
diff --git a/camel/models/mistral_model.py b/camel/models/mistral_model.py
index ee4189984..46934dc2e 100644
--- a/camel/models/mistral_model.py
+++ b/camel/models/mistral_model.py
@@ -95,7 +95,7 @@ class MistralModel(BaseModelBackend):
model_type, model_config_dict, api_key, url, token_counter, timeout
)
self._client = Mistral(
- timeout_ms=int(self._timeout)
+ timeout_ms=int(self._timeout * 1000)
if self._timeout is not None
else None,
api_key=self._api_key,
diff --git a/docs/conf.py b/docs/conf.py
index 79583bea0..94549a6f3 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.53'
+release = '0.2.54'
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.md
index c5ec3e464..fbfa9c1eb 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.53 documentation
+>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.54 documentation
===============
[Skip to main content](https://docs.camel-ai.org/#main-content)
Back to top Ctrl+K
- [![Image 1](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png) ![Image 2](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png)CAMEL 0.2.53](https://docs.camel-ai.org/#)
+ [![Image 1](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png) ![Image 2](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png)CAMEL 0.2.54](https://docs.camel-ai.org/#)
Search Ctrl+K
diff --git a/pyproject.toml b/pyproject.toml
index 7cc800ce3..88301f2b8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "camel-ai"
-version = "0.2.53"
+version = "0.2.54"
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 9cf62fe38..f58b954e0 100644
--- a/uv.lock
+++ b/uv.lock
@@ -555,7 +555,7 @@ wheels = [
[[package]]
name = "camel-ai"
-version = "0.2.53"
+version = "0.2.54"
source = { editable = "." }
dependencies = [
{ name = "colorama" },
@@ -3665,12 +3665,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/10/30/20a7f33b0b884a9d14dd3aa94ff1ac9da1479fe2ad66dd9e2736075d2506/mcp-1.6.0-py3-none-any.whl", hash = "sha256:7bd24c6ea042dbec44c754f100984d186620d8b841ec30f1b19eda9b93a634d0", size = 76077 },
]
-[package.optional-dependencies]
-cli = [
- { name = "python-dotenv" },
- { name = "typer" },
-]
-
[[package]]
name = "mcp-server-fetch"
version = "2025.1.17"