camel-ai 0.2.7__py3-none-any.whl → 0.2.8__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.7'
15
+ __version__ = '0.2.8'
16
16
 
17
17
  __all__ = [
18
18
  '__version__',
@@ -426,12 +426,12 @@ class ChatAgent(BaseAgent):
426
426
  }
427
427
 
428
428
  def init_messages(self) -> None:
429
- r"""Initializes the stored messages list with the initial system
429
+ r"""Initializes the stored messages list with the current system
430
430
  message.
431
431
  """
432
- if self.orig_sys_message is not None:
432
+ if self._system_message is not None:
433
433
  system_record = MemoryRecord(
434
- message=self.orig_sys_message,
434
+ message=self._system_message,
435
435
  role_at_backend=OpenAIBackendRole.SYSTEM,
436
436
  )
437
437
  self.memory.clear()
@@ -123,7 +123,7 @@ class OpenAIModel(BaseModelBackend):
123
123
 
124
124
  self.model_config_dict["temperature"] = 1.0
125
125
  self.model_config_dict["top_p"] = 1.0
126
- self.model_config_dict["n"] = 1.0
126
+ self.model_config_dict["n"] = 1
127
127
  self.model_config_dict["presence_penalty"] = 0.0
128
128
  self.model_config_dict["frequency_penalty"] = 0.0
129
129
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: camel-ai
3
- Version: 0.2.7
3
+ Version: 0.2.8
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.7 https://github.com/camel-ai/camel.git
257
+ git clone -b v0.2.8 https://github.com/camel-ai/camel.git
258
258
 
259
259
  # Change directory into project directory
260
260
  cd camel
@@ -1,7 +1,7 @@
1
- camel/__init__.py,sha256=DxXmdx1G_W-DI7IsnGGPAIj5MITIcEMLkiM4M7Miank,778
1
+ camel/__init__.py,sha256=GpwyPm7fQQlgBz0M5ab6Cky8d7gxiXWpundCWnPCMa8,778
2
2
  camel/agents/__init__.py,sha256=SSU1wbhZXWwQnE0rRxkpyN57kEu72KklsZNcdLkXfTs,1551
3
3
  camel/agents/base.py,sha256=X39qWSiT1WnDqaJ9k3gQrTpOQSwUKzNEVpp5AY6fDH8,1130
4
- camel/agents/chat_agent.py,sha256=V7ssTEZlH3ty7MCSJpn9B3X5FY21iGOMJFKzZUA-LVs,48210
4
+ camel/agents/chat_agent.py,sha256=33v9sKfDT8vMWvUHhWZjZQ6OJaWca9jQkNMilz4WTLU,48208
5
5
  camel/agents/critic_agent.py,sha256=To-istnO-9Eb0iabdeIDrgfvkxYYfsdX9xIZiSrc3oM,7493
6
6
  camel/agents/deductive_reasoner_agent.py,sha256=49vwglWYHgXf-VRftdMN9OFGOwqdsXyTt45PP6z-pbg,13473
7
7
  camel/agents/embodied_agent.py,sha256=3ABuiRQXBpplKbuhPY5KNLJyKc6Z8SgXgzIges3ZwVs,7542
@@ -81,7 +81,7 @@ camel/models/nemotron_model.py,sha256=ZHKffxPxHmKxyKNIEVEgpWgRjeRvDWmyQ7rHPDERQy
81
81
  camel/models/ollama_model.py,sha256=EH5B3QVxogCUR3J7S066lO0qXkRPY9vJGtPMZYCyrSg,5580
82
82
  camel/models/openai_audio_models.py,sha256=_ddOxqzFZCVZaK6h33Z0THU6HXk2XlJTxVWquZ3oOaQ,10042
83
83
  camel/models/openai_compatible_model.py,sha256=ToABSdpKaqmLsQeGlGUCwZoT2UvLIyVEYfMzxOumumY,4064
84
- camel/models/openai_model.py,sha256=3RC-8GsI0dTY3zu9JZQCdgNTQq5UFPrVCUYfxTcYeug,6089
84
+ camel/models/openai_model.py,sha256=-PApFnvP1u6xwk0POSJJITrTrwEK_A4u4MIz5NyW6y0,6087
85
85
  camel/models/qwen_model.py,sha256=GgpDbVYHL3ww7MKc4sCXZylnHkgg_2opza2wOWWutys,4997
86
86
  camel/models/reka_model.py,sha256=KZYNQFN2Wey0qe7i25yo7YIW5ciTH03fnxXZk-UaYWk,8283
87
87
  camel/models/samba_model.py,sha256=9smEGflYNpM9wIcfW3GYpGlqhAhiCYc2m22HAEF0gkM,14392
@@ -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.7.dist-info/LICENSE,sha256=id0nB2my5kG0xXeimIu5zZrbHLS6EQvxvkKkzIHaT2k,11343
213
- camel_ai-0.2.7.dist-info/METADATA,sha256=kfEXc_yWpahlPuzDIcTj51O8-af0CLFwOxK4uERrQC4,28482
214
- camel_ai-0.2.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
215
- camel_ai-0.2.7.dist-info/RECORD,,
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,,