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: Workforce new agent default toolkit (#2561)

Wendong-Fan5416d2d6e5eb
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 6abd88179..1fc9780de 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.62
+ placeholder: E.g., 0.2.63
validations:
required: true
diff --git a/camel/__init__.py b/camel/__init__.py
index 1420b277d..d22ac12ea 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.62'
+__version__ = '0.2.63'
__all__ = [
'__version__',
diff --git a/camel/societies/workforce/workforce.py b/camel/societies/workforce/workforce.py
index 3bcad9e67..19ab698b2 100644
--- a/camel/societies/workforce/workforce.py
+++ b/camel/societies/workforce/workforce.py
@@ -21,7 +21,6 @@ from typing import Deque, Dict, List, Optional
from colorama import Fore
from camel.agents import ChatAgent
-from camel.configs import ChatGPTConfig
from camel.logger import get_logger
from camel.messages.base import BaseMessage
from camel.models import ModelFactory
@@ -421,15 +420,10 @@ class Workforce(BaseNode):
*ThinkingToolkit().get_tools(),
]
- model_config_dict = ChatGPTConfig(
- tools=function_list,
- temperature=0.0,
- ).as_dict()
-
model = ModelFactory.create(
model_platform=ModelPlatformType.DEFAULT,
model_type=ModelType.DEFAULT,
- model_config_dict=model_config_dict,
+ model_config_dict={"temperature": 0},
)
return ChatAgent(worker_sys_msg, model=model, tools=function_list) # type: ignore[arg-type]
diff --git a/docs/conf.py b/docs/conf.py
index dd5d70830..347cb74ea 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.62'
+release = '0.2.63'
html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
diff --git a/pyproject.toml b/pyproject.toml
index 4b093b408..a0ea5ed89 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "camel-ai"
-version = "0.2.62"
+version = "0.2.63"
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 b0b947dc0..c12e8b419 100644
--- a/uv.lock
+++ b/uv.lock
@@ -559,7 +559,7 @@ wheels = [
[[package]]
name = "camel-ai"
-version = "0.2.62"
+version = "0.2.63"
source = { editable = "." }
dependencies = [
{ name = "colorama" },