Skip to content

Commit

Permalink
release: v0.2.20a0 (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendong-Fan authored Feb 7, 2025
1 parent 4c6e87d commit 7b32331
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion camel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__',
Expand Down
4 changes: 2 additions & 2 deletions camel/toolkits/semantic_scholar_toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ def fetch_recommended_papers(
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)
Expand Down
3 changes: 3 additions & 0 deletions camel/types/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -447,6 +448,7 @@ def is_qwen(self) -> bool:
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,
Expand Down Expand Up @@ -605,6 +607,7 @@ def token_limit(self) -> int:
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,
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
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'
Expand Down
2 changes: 1 addition & 1 deletion docs/get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/key_modules/loaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions test/models/test_qwen_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
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,
Expand Down
4 changes: 2 additions & 2 deletions test/toolkits/test_semantic_scholar_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ def test_fetch_recommended_papers_success(self, mock_post):
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)

Expand Down

0 comments on commit 7b32331

Please sign in to comment.