diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 03ce1a00ac..b28e2910fa 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.8 + placeholder: E.g., 0.2.9 validations: required: true diff --git a/README.md b/README.md index dd75c9c9fe..d6edcdbeac 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ conda create --name camel python=3.10 conda activate camel # Clone github repo -git clone -b v0.2.8 https://github.com/camel-ai/camel.git +git clone -b v0.2.9 https://github.com/camel-ai/camel.git # Change directory into project directory cd camel diff --git a/camel/__init__.py b/camel/__init__.py index ca94c1586a..0f926261a6 100644 --- a/camel/__init__.py +++ b/camel/__init__.py @@ -12,7 +12,7 @@ # limitations under the License. # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== -__version__ = '0.2.8' +__version__ = '0.2.9' __all__ = [ '__version__', diff --git a/camel/societies/role_playing.py b/camel/societies/role_playing.py index 1e6038330c..bcf2fc18c9 100644 --- a/camel/societies/role_playing.py +++ b/camel/societies/role_playing.py @@ -23,10 +23,10 @@ from camel.generators import SystemMessageGenerator from camel.human import Human from camel.messages import BaseMessage -from camel.models import BaseModelBackend, ModelFactory +from camel.models import BaseModelBackend from camel.prompts import TextPrompt from camel.responses import ChatAgentResponse -from camel.types import ModelPlatformType, ModelType, RoleType, TaskType +from camel.types import RoleType, TaskType logger = logging.getLogger(__name__) logger.setLevel(logging.WARNING) @@ -111,14 +111,7 @@ def __init__( self.with_task_specify = with_task_specify self.with_task_planner = with_task_planner self.with_critic_in_the_loop = with_critic_in_the_loop - self.model: BaseModelBackend = ( - model - if model is not None - else ModelFactory.create( - model_platform=ModelPlatformType.DEFAULT, - model_type=ModelType.DEFAULT, - ) - ) + self.model = model self.task_type = task_type self.task_prompt = task_prompt diff --git a/docs/conf.py b/docs/conf.py index 4d31735f9d..51842904b9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ project = 'CAMEL' copyright = '2024, CAMEL-AI.org' author = 'CAMEL-AI.org' -release = '0.2.8' +release = '0.2.9' html_favicon = ( 'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png' diff --git a/docs/cookbooks/agents_message.ipynb b/docs/cookbooks/agents_message.ipynb index d0e5a17b51..e0a34436af 100644 --- a/docs/cookbooks/agents_message.ipynb +++ b/docs/cookbooks/agents_message.ipynb @@ -101,7 +101,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai==0.2.8\"" + "!pip install \"camel-ai==0.2.9\"" ] }, { diff --git a/docs/cookbooks/agents_prompting.ipynb b/docs/cookbooks/agents_prompting.ipynb index 9f217b9f50..de48a2cac6 100644 --- a/docs/cookbooks/agents_prompting.ipynb +++ b/docs/cookbooks/agents_prompting.ipynb @@ -64,7 +64,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai==0.2.8\"" + "!pip install \"camel-ai==0.2.9\"" ] }, { diff --git a/docs/cookbooks/agents_society.ipynb b/docs/cookbooks/agents_society.ipynb index 53bc359c38..97139977c7 100644 --- a/docs/cookbooks/agents_society.ipynb +++ b/docs/cookbooks/agents_society.ipynb @@ -192,7 +192,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai==0.2.8\"" + "!pip install \"camel-ai==0.2.9\"" ] }, { diff --git a/docs/cookbooks/agents_tracking.ipynb b/docs/cookbooks/agents_tracking.ipynb index af721af868..baf596e061 100644 --- a/docs/cookbooks/agents_tracking.ipynb +++ b/docs/cookbooks/agents_tracking.ipynb @@ -64,7 +64,7 @@ }, "outputs": [], "source": [ - "%pip install camel-ai[all]==0.2.8\n", + "%pip install camel-ai[all]==0.2.9\n", "%pip install agentops==0.3.10" ] }, diff --git a/docs/cookbooks/agents_with_memory.ipynb b/docs/cookbooks/agents_with_memory.ipynb index b2bd55799d..6c49266bd7 100644 --- a/docs/cookbooks/agents_with_memory.ipynb +++ b/docs/cookbooks/agents_with_memory.ipynb @@ -73,7 +73,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai[all]==0.2.8\"" + "!pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/cookbooks/agents_with_rag.ipynb b/docs/cookbooks/agents_with_rag.ipynb index f797465a54..a201b4e00b 100644 --- a/docs/cookbooks/agents_with_rag.ipynb +++ b/docs/cookbooks/agents_with_rag.ipynb @@ -75,7 +75,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai[all]==0.2.8\"" + "!pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/cookbooks/agents_with_tools.ipynb b/docs/cookbooks/agents_with_tools.ipynb index 20b6dc6c89..4fa571e874 100644 --- a/docs/cookbooks/agents_with_tools.ipynb +++ b/docs/cookbooks/agents_with_tools.ipynb @@ -77,7 +77,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai[all]==0.2.8\"" + "!pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/cookbooks/create_your_first_agent.ipynb b/docs/cookbooks/create_your_first_agent.ipynb index 6ba7754317..e333f27a59 100644 --- a/docs/cookbooks/create_your_first_agent.ipynb +++ b/docs/cookbooks/create_your_first_agent.ipynb @@ -83,7 +83,7 @@ { "cell_type": "code", "source": [ - "!pip install \"camel-ai[all]==0.2.8\"" + "!pip install \"camel-ai[all]==0.2.9\"" ], "metadata": { "id": "UtcC3c-KVZmU" diff --git a/docs/cookbooks/create_your_first_agents_society.ipynb b/docs/cookbooks/create_your_first_agents_society.ipynb index fad32db27c..a5c2120aac 100644 --- a/docs/cookbooks/create_your_first_agents_society.ipynb +++ b/docs/cookbooks/create_your_first_agents_society.ipynb @@ -77,7 +77,7 @@ { "cell_type": "code", "source": [ - "!pip install \"camel-ai==0.2.8\"" + "!pip install \"camel-ai==0.2.9\"" ], "metadata": { "id": "RiwfwyyLYYxo" diff --git a/docs/cookbooks/critic_agents_and_tree_search.ipynb b/docs/cookbooks/critic_agents_and_tree_search.ipynb index 47b04ace01..6c1c524458 100644 --- a/docs/cookbooks/critic_agents_and_tree_search.ipynb +++ b/docs/cookbooks/critic_agents_and_tree_search.ipynb @@ -84,7 +84,7 @@ { "cell_type": "code", "source": [ - "%pip install \"camel-ai==0.2.8\"" + "%pip install \"camel-ai==0.2.9\"" ], "metadata": { "id": "UtcC3c-KVZmU" diff --git a/docs/cookbooks/embodied_agents.ipynb b/docs/cookbooks/embodied_agents.ipynb index bec9643f84..068ce639bb 100644 --- a/docs/cookbooks/embodied_agents.ipynb +++ b/docs/cookbooks/embodied_agents.ipynb @@ -67,7 +67,7 @@ { "cell_type": "code", "source": [ - "%pip install \"camel-ai==0.2.8\"" + "%pip install \"camel-ai==0.2.9\"" ], "metadata": { "id": "UtcC3c-KVZmU" diff --git a/docs/cookbooks/knowledge_graph.ipynb b/docs/cookbooks/knowledge_graph.ipynb index 0afd55e300..742c9336f0 100644 --- a/docs/cookbooks/knowledge_graph.ipynb +++ b/docs/cookbooks/knowledge_graph.ipynb @@ -73,7 +73,7 @@ }, "outputs": [], "source": [ - "pip install \"camel-ai[all]==0.2.8\"" + "pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/cookbooks/model_speed_comparison.ipynb b/docs/cookbooks/model_speed_comparison.ipynb index 28b3b84556..d5f3c5e328 100644 --- a/docs/cookbooks/model_speed_comparison.ipynb +++ b/docs/cookbooks/model_speed_comparison.ipynb @@ -63,7 +63,7 @@ { "cell_type": "code", "source": [ - "!pip install \"camel-ai==0.2.8\"" + "!pip install \"camel-ai==0.2.9\"" ], "metadata": { "id": "UtcC3c-KVZmU" diff --git a/docs/cookbooks/roleplaying_scraper.ipynb b/docs/cookbooks/roleplaying_scraper.ipynb index 45d680615d..185a069ac9 100644 --- a/docs/cookbooks/roleplaying_scraper.ipynb +++ b/docs/cookbooks/roleplaying_scraper.ipynb @@ -89,7 +89,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai[all]==0.2.8\"" + "!pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/cookbooks/task_generation.ipynb b/docs/cookbooks/task_generation.ipynb index c5d8647bde..282a7388c4 100644 --- a/docs/cookbooks/task_generation.ipynb +++ b/docs/cookbooks/task_generation.ipynb @@ -62,7 +62,7 @@ }, "outputs": [], "source": [ - "!pip install \"camel-ai==0.2.8\"" + "!pip install \"camel-ai==0.2.9\"" ] }, { diff --git a/docs/cookbooks/video_analysis.ipynb b/docs/cookbooks/video_analysis.ipynb index 494436cb5a..a32049af50 100644 --- a/docs/cookbooks/video_analysis.ipynb +++ b/docs/cookbooks/video_analysis.ipynb @@ -28,7 +28,7 @@ }, "outputs": [], "source": [ - "%pip install \"camel-ai[all]==0.2.8\"" + "%pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/cookbooks/workforce_judge_committee.ipynb b/docs/cookbooks/workforce_judge_committee.ipynb index 3a0306079d..203cf99a4d 100644 --- a/docs/cookbooks/workforce_judge_committee.ipynb +++ b/docs/cookbooks/workforce_judge_committee.ipynb @@ -28,7 +28,7 @@ }, "outputs": [], "source": [ - "%pip install \"camel-ai[all]==0.2.8\"" + "%pip install \"camel-ai[all]==0.2.9\"" ] }, { diff --git a/docs/get_started/installation.md b/docs/get_started/installation.md index 2eaa921705..db0f3687d8 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.8 https://github.com/camel-ai/camel.git +git clone -b v0.2.9 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 9fd2d8f5c2..bc9b02e39f 100644 --- a/docs/key_modules/loaders.md +++ b/docs/key_modules/loaders.md @@ -336,14 +336,14 @@ response = jina_reader.read_content("https://docs.camel-ai.org/") print(response) ``` ```markdown ->>>Welcome to CAMEL’s documentation! — CAMEL 0.2.8 documentation +>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.9 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.8](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.9](https://docs.camel-ai.org/#) Search Ctrl+K diff --git a/pyproject.toml b/pyproject.toml index cb80d8e95f..82cc220aed 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.8" +version = "0.2.9" authors = ["CAMEL-AI.org"] description = "Communicative Agents for AI Society Study" readme = "README.md"