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

release: v0.2.20a0 (#1564)

Wendong-Fan7b32331ce1d5
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 9c7eb2620..dd852c819 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.19
+ placeholder: E.g., 0.2.20a0
validations:
required: true
diff --git a/camel/__init__.py b/camel/__init__.py
index 7c368a7ee..8bfd05b81 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.19'
+__version__ = '0.2.20a0'
__all__ = [
'__version__',
diff --git a/camel/toolkits/semantic_scholar_toolkit.py b/camel/toolkits/semantic_scholar_toolkit.py
index 809f4c01c..235f8faec 100644
--- a/camel/toolkits/semantic_scholar_toolkit.py
+++ b/camel/toolkits/semantic_scholar_toolkit.py
@@ -228,8 +228,8 @@ class SemanticScholarToolkit(BaseToolkit):
url = "https://api.semanticscholar.org/recommendations/v1/papers"
query_params = {"fields": ",".join(fields), "limit": str(limit)}
data = {
- "positivepaper_ids": positive_paper_ids,
- "negativepaper_ids": negative_paper_ids,
+ "positive_paper_ids": positive_paper_ids,
+ "negative_paper_ids": negative_paper_ids,
}
try:
response = requests.post(url, params=query_params, json=data)
diff --git a/camel/types/enums.py b/camel/types/enums.py
index 80498a86d..dacfee7a0 100644
--- a/camel/types/enums.py
+++ b/camel/types/enums.py
@@ -158,6 +158,7 @@ class ModelType(UnifiedModelType, Enum):
QWEN_MATH_TURBO = "qwen-math-turbo"
QWEN_CODER_TURBO = "qwen-coder-turbo"
QWEN_2_5_CODER_32B = "qwen2.5-coder-32b-instruct"
+ QWEN_2_5_VL_72B = "qwen2.5-vl-72b-instruct"
QWEN_2_5_72B = "qwen2.5-72b-instruct"
QWEN_2_5_32B = "qwen2.5-32b-instruct"
QWEN_2_5_14B = "qwen2.5-14b-instruct"
@@ -447,6 +448,7 @@ class ModelType(UnifiedModelType, Enum):
ModelType.QWEN_MATH_TURBO,
ModelType.QWEN_CODER_TURBO,
ModelType.QWEN_2_5_CODER_32B,
+ ModelType.QWEN_2_5_VL_72B,
ModelType.QWEN_2_5_72B,
ModelType.QWEN_2_5_32B,
ModelType.QWEN_2_5_14B,
@@ -605,6 +607,7 @@ class ModelType(UnifiedModelType, Enum):
ModelType.MISTRAL_8B,
ModelType.MISTRAL_3B,
ModelType.QWEN_2_5_CODER_32B,
+ ModelType.QWEN_2_5_VL_72B,
ModelType.QWEN_2_5_72B,
ModelType.QWEN_2_5_32B,
ModelType.QWEN_2_5_14B,
diff --git a/docs/conf.py b/docs/conf.py
index 2232de93e..0105ff5b8 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.19'
+release = '0.2.20a0'
html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
diff --git a/docs/get_started/installation.md b/docs/get_started/installation.md
index 3ffc54132..18d2f9c19 100644
--- a/docs/get_started/installation.md
+++ b/docs/get_started/installation.md
@@ -60,7 +60,7 @@ conda create --name camel python=3.10
conda activate camel
# Clone github repo
-git clone -b v0.2.19 https://github.com/camel-ai/camel.git
+git clone -b v0.2.20a0 https://github.com/camel-ai/camel.git
# Change directory into project directory
cd camel
diff --git a/docs/key_modules/loaders.md b/docs/key_modules/loaders.md
index 2d4f1881d..e8fe2a631 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.19 documentation
+>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.20a0 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.19](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.20a0](https://docs.camel-ai.org/#)
Search Ctrl+K
diff --git a/pyproject.toml b/pyproject.toml
index 8b9dfd336..35b7bc00a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "camel-ai"
-version = "0.2.19"
+version = "0.2.20a0"
authors = ["CAMEL-AI.org"]
description = "Communicative Agents for AI Society Study"
readme = "README.md"
diff --git a/test/models/test_qwen_model.py b/test/models/test_qwen_model.py
index a781c442f..71e944087 100644
--- a/test/models/test_qwen_model.py
+++ b/test/models/test_qwen_model.py
@@ -35,6 +35,7 @@ from camel.types import ModelType
ModelType.QWEN_MATH_TURBO,
ModelType.QWEN_CODER_TURBO,
ModelType.QWEN_2_5_CODER_32B,
+ ModelType.QWEN_2_5_VL_72B,
ModelType.QWEN_2_5_72B,
ModelType.QWEN_2_5_32B,
ModelType.QWEN_2_5_14B,
diff --git a/test/toolkits/test_semantic_scholar_functions.py b/test/toolkits/test_semantic_scholar_functions.py
index 2d9a0ed75..015b592fd 100644
--- a/test/toolkits/test_semantic_scholar_functions.py
+++ b/test/toolkits/test_semantic_scholar_functions.py
@@ -180,8 +180,8 @@ class TestSemanticScholarToolkit(unittest.TestCase):
self.assertIn("recommendations/v1/papers", called_url)
called_json = mock_post.call_args[1]["json"]
- self.assertEqual(called_json["positivePaperIds"], pos_ids)
- self.assertEqual(called_json["negativePaperIds"], neg_ids)
+ self.assertEqual(called_json["positive_paper_ids"], pos_ids)
+ self.assertEqual(called_json["negative_paper_ids"], neg_ids)
self.assertEqual(result, mock_response_data)