camel-ai 0.2.8__py3-none-any.whl → 0.2.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of camel-ai might be problematic. Click here for more details.

camel/__init__.py CHANGED
@@ -12,7 +12,7 @@
12
12
  # limitations under the License.
13
13
  # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========
14
14
 
15
- __version__ = '0.2.8'
15
+ __version__ = '0.2.9'
16
16
 
17
17
  __all__ = [
18
18
  '__version__',
@@ -23,10 +23,10 @@ from camel.agents import (
23
23
  from camel.generators import SystemMessageGenerator
24
24
  from camel.human import Human
25
25
  from camel.messages import BaseMessage
26
- from camel.models import BaseModelBackend, ModelFactory
26
+ from camel.models import BaseModelBackend
27
27
  from camel.prompts import TextPrompt
28
28
  from camel.responses import ChatAgentResponse
29
- from camel.types import ModelPlatformType, ModelType, RoleType, TaskType
29
+ from camel.types import RoleType, TaskType
30
30
 
31
31
  logger = logging.getLogger(__name__)
32
32
  logger.setLevel(logging.WARNING)
@@ -111,14 +111,7 @@ class RolePlaying:
111
111
  self.with_task_specify = with_task_specify
112
112
  self.with_task_planner = with_task_planner
113
113
  self.with_critic_in_the_loop = with_critic_in_the_loop
114
- self.model: BaseModelBackend = (
115
- model
116
- if model is not None
117
- else ModelFactory.create(
118
- model_platform=ModelPlatformType.DEFAULT,
119
- model_type=ModelType.DEFAULT,
120
- )
121
- )
114
+ self.model = model
122
115
  self.task_type = task_type
123
116
  self.task_prompt = task_prompt
124
117
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: camel-ai
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Communicative Agents for AI Society Study
5
5
  Home-page: https://www.camel-ai.org/
6
6
  License: Apache-2.0
@@ -254,7 +254,7 @@ conda create --name camel python=3.10
254
254
  conda activate camel
255
255
 
256
256
  # Clone github repo
257
- git clone -b v0.2.8 https://github.com/camel-ai/camel.git
257
+ git clone -b v0.2.9 https://github.com/camel-ai/camel.git
258
258
 
259
259
  # Change directory into project directory
260
260
  cd camel
@@ -1,4 +1,4 @@
1
- camel/__init__.py,sha256=GpwyPm7fQQlgBz0M5ab6Cky8d7gxiXWpundCWnPCMa8,778
1
+ camel/__init__.py,sha256=v1Bz7UZ7y99Mll7NUH7WAKhCPRjRvlj5Ft34O384Nvs,778
2
2
  camel/agents/__init__.py,sha256=SSU1wbhZXWwQnE0rRxkpyN57kEu72KklsZNcdLkXfTs,1551
3
3
  camel/agents/base.py,sha256=X39qWSiT1WnDqaJ9k3gQrTpOQSwUKzNEVpp5AY6fDH8,1130
4
4
  camel/agents/chat_agent.py,sha256=33v9sKfDT8vMWvUHhWZjZQ6OJaWca9jQkNMilz4WTLU,48208
@@ -116,7 +116,7 @@ camel/retrievers/cohere_rerank_retriever.py,sha256=HvnFqXpsX9EdBOab0kFLDyxxJnknP
116
116
  camel/retrievers/vector_retriever.py,sha256=VdNbfBOgIPdGvFBjg6K5hQKn4FIBs7q5AFN5L3N6QXE,9979
117
117
  camel/societies/__init__.py,sha256=JhGwUHjht4CewzC3shKuxmgB3oS7FIxIxmiKyhNsfIs,832
118
118
  camel/societies/babyagi_playing.py,sha256=z0nKqtq4374BLN-eGNTf07OcTPmJtRO4avTDkbeaOHg,11788
119
- camel/societies/role_playing.py,sha256=ca8K3qwuu-UCETJzOOJaph8GGVnaxyRrJKc9aEqI1Og,24090
119
+ camel/societies/role_playing.py,sha256=jSneTdW0uCu0h988K3lTkH16IUi1OFn67PN9nI8mZmk,23815
120
120
  camel/societies/workforce/__init__.py,sha256=m2KbPItARjIyKiHc_Z34joWTJ-1XnIJfQqAZEeonz2U,926
121
121
  camel/societies/workforce/base.py,sha256=qPFi-yr4UB9N5p7s8Bk5k1rC-0or5GYfblTmWt68-64,1953
122
122
  camel/societies/workforce/prompts.py,sha256=0Wcu7HpiyaD_387urc2P1uY9-DN8JAdk00HSlhNWz34,6184
@@ -209,7 +209,7 @@ camel/utils/async_func.py,sha256=_N3HIrQ9QagXjHzgTd_OKHDlmi059yPw2_lf8Pb6NHQ,156
209
209
  camel/utils/commons.py,sha256=ShNkskoAG1OcBzf_Y6YsqzX7ZypWMnYUxqrhm2_CEdY,17545
210
210
  camel/utils/constants.py,sha256=XJ4XAs78LZb5-pnirTXW4tUA9YwWWCxV8xdgH3EL3rk,1416
211
211
  camel/utils/token_counting.py,sha256=6mc5PmyN5sOP02u02r7Jjxki75hjk9z1KPaIx_0wFmY,14624
212
- camel_ai-0.2.8.dist-info/LICENSE,sha256=id0nB2my5kG0xXeimIu5zZrbHLS6EQvxvkKkzIHaT2k,11343
213
- camel_ai-0.2.8.dist-info/METADATA,sha256=gJRxwnSzUGpOXmXC2eBX1mds5-v56nmFwoaaD6CT-Yg,28482
214
- camel_ai-0.2.8.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
215
- camel_ai-0.2.8.dist-info/RECORD,,
212
+ camel_ai-0.2.9.dist-info/LICENSE,sha256=id0nB2my5kG0xXeimIu5zZrbHLS6EQvxvkKkzIHaT2k,11343
213
+ camel_ai-0.2.9.dist-info/METADATA,sha256=VfN3yJeSpua3V0pUt47MWycMz1IT4AB8Pcj06sYAs7Q,28482
214
+ camel_ai-0.2.9.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
215
+ camel_ai-0.2.9.dist-info/RECORD,,