š« CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
fix: the Chinese characters in the license template into English ⦠(#1231)
koch3092300017bb7b53
diff --git a/apps/agents/agents.py b/apps/agents/agents.pyindex 7b4887b80..27c2cce4a 100644--- a/apps/agents/agents.py+++ b/apps/agents/agents.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Gradio-based web app Agents that uses OpenAI API to generatea chat between collaborative agents.diff --git a/apps/agents/test/test_agents.py b/apps/agents/test/test_agents.pyindex 1f69a64a8..27068dd4b 100644--- a/apps/agents/test/test_agents.py+++ b/apps/agents/test/test_agents.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import gradio as grimport pytestdiff --git a/apps/agents/test/test_text_utils.py b/apps/agents/test/test_text_utils.pyindex 3f0ff0f8e..315dc732e 100644--- a/apps/agents/test/test_text_utils.py+++ b/apps/agents/test/test_text_utils.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import apps.agents.text_utils as text_utilsdiff --git a/apps/agents/text_utils.py b/apps/agents/text_utils.pyindex f6678e3de..5728c26bf 100644--- a/apps/agents/text_utils.py+++ b/apps/agents/text_utils.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import rediff --git a/apps/common/auto_zip.py b/apps/common/auto_zip.pyindex 39d3cbf13..523b44a58 100644--- a/apps/common/auto_zip.py+++ b/apps/common/auto_zip.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport osimport zipfilediff --git a/apps/common/test/test_auto_zip.py b/apps/common/test/test_auto_zip.pyindex f7384ef90..465ff3c9f 100644--- a/apps/common/test/test_auto_zip.py+++ b/apps/common/test/test_auto_zip.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom apps.common.auto_zip import AutoZipdiff --git a/apps/data_explorer/data_explorer.py b/apps/data_explorer/data_explorer.pyindex e3a20c85e..7fc5f38c2 100644--- a/apps/data_explorer/data_explorer.py+++ b/apps/data_explorer/data_explorer.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Gradio-based web UI to explore the Camel dataset."""diff --git a/apps/data_explorer/downloader.py b/apps/data_explorer/downloader.pyindex 422b89eaf..4c0967bf2 100644--- a/apps/data_explorer/downloader.py+++ b/apps/data_explorer/downloader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport urllib.requestdiff --git a/apps/data_explorer/loader.py b/apps/data_explorer/loader.pyindex 978d48f12..b9be8bc44 100644--- a/apps/data_explorer/loader.py+++ b/apps/data_explorer/loader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Everything related to parsing the data JSONs into UI-compatible format."""diff --git a/apps/data_explorer/test/test_data_explorer.py b/apps/data_explorer/test/test_data_explorer.pyindex 6774dc388..fe0f43b5d 100644--- a/apps/data_explorer/test/test_data_explorer.py+++ b/apps/data_explorer/test/test_data_explorer.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport urllib.requestdiff --git a/apps/data_explorer/test/test_loader.py b/apps/data_explorer/test/test_loader.pyindex 03f626e93..fe8cf9e2f 100644--- a/apps/data_explorer/test/test_loader.py+++ b/apps/data_explorer/test/test_loader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import apps.data_explorer.loader as loaderdiff --git a/apps/dilemma/database_connection.py b/apps/dilemma/database_connection.pyindex 4a2e8cfd2..f0ae3619e 100644--- a/apps/dilemma/database_connection.py+++ b/apps/dilemma/database_connection.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import sqlalchemyfrom google.cloud.sql.connector import Connector, IPTypesdiff --git a/apps/dilemma/dilemma.py b/apps/dilemma/dilemma.pyindex 08aeda5e8..76d2cf2bc 100644--- a/apps/dilemma/dilemma.py+++ b/apps/dilemma/dilemma.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Gradio-based web UI to select between twooptions and save the answers to a database.diff --git a/camel/__init__.py b/camel/__init__.pyindex 0f926261a..aa2932864 100644--- a/camel/__init__.py+++ b/camel/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========__version__ = '0.2.9'diff --git a/camel/agents/__init__.py b/camel/agents/__init__.pyindex df63e0cbc..233307771 100644--- a/camel/agents/__init__.py+++ b/camel/agents/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseAgentfrom .chat_agent import ChatAgentfrom .critic_agent import CriticAgentdiff --git a/camel/agents/base.py b/camel/agents/base.pyindex 896bdbd8a..f6af3d474 100644--- a/camel/agents/base.py+++ b/camel/agents/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Anydiff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.pyindex e1ed9fcf6..26739a402 100644--- a/camel/agents/chat_agent.py+++ b/camel/agents/chat_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport jsondiff --git a/camel/agents/critic_agent.py b/camel/agents/critic_agent.pyindex 10ada108a..13b2e2437 100644--- a/camel/agents/critic_agent.py+++ b/camel/agents/critic_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import randomimport warningsfrom typing import Any, Dict, Optional, Sequencediff --git a/camel/agents/deductive_reasoner_agent.py b/camel/agents/deductive_reasoner_agent.pyindex 892b3d262..99265da7a 100644--- a/camel/agents/deductive_reasoner_agent.py+++ b/camel/agents/deductive_reasoner_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import refrom typing import Dict, List, Optional, Uniondiff --git a/camel/agents/embodied_agent.py b/camel/agents/embodied_agent.pyindex ce40694cf..3422389fa 100644--- a/camel/agents/embodied_agent.py+++ b/camel/agents/embodied_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, List, Optionalfrom colorama import Forediff --git a/camel/agents/knowledge_graph_agent.py b/camel/agents/knowledge_graph_agent.pyindex f99432965..a1187f047 100644--- a/camel/agents/knowledge_graph_agent.py+++ b/camel/agents/knowledge_graph_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import TYPE_CHECKING, Optional, Unionif TYPE_CHECKING:diff --git a/camel/agents/role_assignment_agent.py b/camel/agents/role_assignment_agent.pyindex 69b23503b..beb3625a5 100644--- a/camel/agents/role_assignment_agent.py+++ b/camel/agents/role_assignment_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import refrom typing import Dict, Optional, Uniondiff --git a/camel/agents/search_agent.py b/camel/agents/search_agent.pyindex 7c469c0b4..91f5c3d16 100644--- a/camel/agents/search_agent.py+++ b/camel/agents/search_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Optionalfrom camel.agents.chat_agent import ChatAgentdiff --git a/camel/agents/task_agent.py b/camel/agents/task_agent.pyindex 1fe3b3ec2..51557855f 100644--- a/camel/agents/task_agent.py+++ b/camel/agents/task_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dict, List, Optional, Unionfrom camel.agents.chat_agent import ChatAgentdiff --git a/camel/agents/tool_agents/__init__.py b/camel/agents/tool_agents/__init__.pyindex e47fcf82b..368d372e6 100644--- a/camel/agents/tool_agents/__init__.py+++ b/camel/agents/tool_agents/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseToolAgentfrom .hugging_face_tool_agent import HuggingFaceToolAgentdiff --git a/camel/agents/tool_agents/base.py b/camel/agents/tool_agents/base.pyindex 586d69336..009c1a8db 100644--- a/camel/agents/tool_agents/base.py+++ b/camel/agents/tool_agents/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import BaseAgentdiff --git a/camel/agents/tool_agents/hugging_face_tool_agent.py b/camel/agents/tool_agents/hugging_face_tool_agent.pyindex 09c5325b8..a8600ba2a 100644--- a/camel/agents/tool_agents/hugging_face_tool_agent.py+++ b/camel/agents/tool_agents/hugging_face_tool_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Optionalfrom camel.agents.tool_agents.base import BaseToolAgentdiff --git a/camel/bots/__init__.py b/camel/bots/__init__.pyindex d276018ad..718023b19 100644--- a/camel/bots/__init__.py+++ b/camel/bots/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .discord_app import DiscordAppfrom .slack.models import (SlackAppMentionEventBody,diff --git a/camel/bots/discord_app.py b/camel/bots/discord_app.pyindex ef4594234..b25ce9fb3 100644--- a/camel/bots/discord_app.py+++ b/camel/bots/discord_app.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingimport osfrom typing import TYPE_CHECKING, List, Optionaldiff --git a/camel/bots/slack/__init__.py b/camel/bots/slack/__init__.pyindex 922806ad2..02af65dbc 100644--- a/camel/bots/slack/__init__.py+++ b/camel/bots/slack/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .models import (SlackAppMentionEventBody,SlackAppMentionEventProfile,diff --git a/camel/bots/slack/models.py b/camel/bots/slack/models.pyindex 3d8191ddc..598a2127e 100644--- a/camel/bots/slack/models.py+++ b/camel/bots/slack/models.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Optionalfrom pydantic import BaseModeldiff --git a/camel/bots/slack/slack_app.py b/camel/bots/slack/slack_app.pyindex e3606634b..f3dab6243 100644--- a/camel/bots/slack/slack_app.py+++ b/camel/bots/slack/slack_app.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingimport osfrom typing import TYPE_CHECKING, Any, Dict, Optionaldiff --git a/camel/bots/telegram_bot.py b/camel/bots/telegram_bot.pyindex adde082bd..6c502efeb 100644--- a/camel/bots/telegram_bot.py+++ b/camel/bots/telegram_bot.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import TYPE_CHECKING, Optionaldiff --git a/camel/configs/__init__.py b/camel/configs/__init__.pyindex 752bc0b86..c70ae9c3a 100644--- a/camel/configs/__init__.py+++ b/camel/configs/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .anthropic_config import ANTHROPIC_API_PARAMS, AnthropicConfigfrom .base_config import BaseConfigfrom .cohere_config import COHERE_API_PARAMS, CohereConfigdiff --git a/camel/configs/anthropic_config.py b/camel/configs/anthropic_config.pyindex 037a26e7b..e6a8a8756 100644--- a/camel/configs/anthropic_config.py+++ b/camel/configs/anthropic_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import List, Uniondiff --git a/camel/configs/base_config.py b/camel/configs/base_config.pyindex 8690035cc..5a6e74819 100644--- a/camel/configs/base_config.py+++ b/camel/configs/base_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom abc import ABCdiff --git a/camel/configs/cohere_config.py b/camel/configs/cohere_config.pyindex e5a2c5042..e00181ad3 100644--- a/camel/configs/cohere_config.py+++ b/camel/configs/cohere_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import List, Optionaldiff --git a/camel/configs/gemini_config.py b/camel/configs/gemini_config.pyindex d2c29ae3c..eb6dfb744 100644--- a/camel/configs/gemini_config.py+++ b/camel/configs/gemini_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from collections.abc import Iterablediff --git a/camel/configs/groq_config.py b/camel/configs/groq_config.pyindex e978a5262..5cfaf88d9 100644--- a/camel/configs/groq_config.py+++ b/camel/configs/groq_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Optional, Sequence, Uniondiff --git a/camel/configs/litellm_config.py b/camel/configs/litellm_config.pyindex dcce355b7..f7fea3d09 100644--- a/camel/configs/litellm_config.py+++ b/camel/configs/litellm_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import List, Optional, Uniondiff --git a/camel/configs/mistral_config.py b/camel/configs/mistral_config.pyindex 4b248e680..ec8f8c459 100644--- a/camel/configs/mistral_config.py+++ b/camel/configs/mistral_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Any, Dict, Optional, Uniondiff --git a/camel/configs/ollama_config.py b/camel/configs/ollama_config.pyindex d389ffa70..5139c55ed 100644--- a/camel/configs/ollama_config.py+++ b/camel/configs/ollama_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Sequence, Uniondiff --git a/camel/configs/openai_config.py b/camel/configs/openai_config.pyindex 63ebd7a18..71b66ac97 100644--- a/camel/configs/openai_config.py+++ b/camel/configs/openai_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Any, Optional, Sequence, Type, Uniondiff --git a/camel/configs/qwen_config.py b/camel/configs/qwen_config.pyindex eb5dcce7f..91a962a78 100644--- a/camel/configs/qwen_config.py+++ b/camel/configs/qwen_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import ClassVar, Optional, Uniondiff --git a/camel/configs/reka_config.py b/camel/configs/reka_config.pyindex 7680a95e4..d853b5aa4 100644--- a/camel/configs/reka_config.py+++ b/camel/configs/reka_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Any, Optional, Uniondiff --git a/camel/configs/samba_config.py b/camel/configs/samba_config.pyindex fd57581f5..8d7570d18 100644--- a/camel/configs/samba_config.py+++ b/camel/configs/samba_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Any, Optional, Sequence, Uniondiff --git a/camel/configs/togetherai_config.py b/camel/configs/togetherai_config.pyindex 80ffad655..eee197bb9 100644--- a/camel/configs/togetherai_config.py+++ b/camel/configs/togetherai_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Any, Sequence, Uniondiff --git a/camel/configs/vllm_config.py b/camel/configs/vllm_config.pyindex 11872a517..b52d015c1 100644--- a/camel/configs/vllm_config.py+++ b/camel/configs/vllm_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Sequence, Uniondiff --git a/camel/configs/yi_config.py b/camel/configs/yi_config.pyindex 7e2ae3a32..6873d6fc9 100644--- a/camel/configs/yi_config.py+++ b/camel/configs/yi_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Optional, Uniondiff --git a/camel/configs/zhipuai_config.py b/camel/configs/zhipuai_config.pyindex 907977552..5f1a11bef 100644--- a/camel/configs/zhipuai_config.py+++ b/camel/configs/zhipuai_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Optional, Sequence, Uniondiff --git a/camel/embeddings/__init__.py b/camel/embeddings/__init__.pyindex 19cada994..1f88a1da9 100644--- a/camel/embeddings/__init__.py+++ b/camel/embeddings/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseEmbeddingfrom .mistral_embedding import MistralEmbeddingfrom .openai_embedding import OpenAIEmbeddingdiff --git a/camel/embeddings/base.py b/camel/embeddings/base.pyindex 908c54026..523fc6f7f 100644--- a/camel/embeddings/base.py+++ b/camel/embeddings/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom abc import ABC, abstractmethoddiff --git a/camel/embeddings/mistral_embedding.py b/camel/embeddings/mistral_embedding.pyindex 48e3f8c13..526e01088 100644--- a/camel/embeddings/mistral_embedding.py+++ b/camel/embeddings/mistral_embedding.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport osdiff --git a/camel/embeddings/openai_embedding.py b/camel/embeddings/openai_embedding.pyindex 8b98a8a37..2666530d5 100644--- a/camel/embeddings/openai_embedding.py+++ b/camel/embeddings/openai_embedding.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport osdiff --git a/camel/embeddings/sentence_transformers_embeddings.py b/camel/embeddings/sentence_transformers_embeddings.pyindex 265f5b296..b097c677f 100644--- a/camel/embeddings/sentence_transformers_embeddings.py+++ b/camel/embeddings/sentence_transformers_embeddings.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import Anydiff --git a/camel/embeddings/vlm_embedding.py b/camel/embeddings/vlm_embedding.pyindex f41b1dd55..925bf0ca7 100644--- a/camel/embeddings/vlm_embedding.py+++ b/camel/embeddings/vlm_embedding.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, List, Optional, Unionfrom PIL import Imagediff --git a/camel/generators.py b/camel/generators.pyindex bccc6d26b..35186cd3d 100644--- a/camel/generators.py+++ b/camel/generators.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Dict, Generator, List, Optional, Set, Tuplefrom camel.messages import BaseMessagediff --git a/camel/human.py b/camel/human.pyindex c5bba04c8..1011ed57a 100644--- a/camel/human.py+++ b/camel/human.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dict, Sequencefrom colorama import Forediff --git a/camel/interpreters/__init__.py b/camel/interpreters/__init__.pyindex d81803f52..715d973b0 100644--- a/camel/interpreters/__init__.py+++ b/camel/interpreters/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseInterpreterfrom .docker_interpreter import DockerInterpreterdiff --git a/camel/interpreters/base.py b/camel/interpreters/base.pyindex 725d71ae4..5ed317f37 100644--- a/camel/interpreters/base.py+++ b/camel/interpreters/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Dict, Listdiff --git a/camel/interpreters/docker_interpreter.py b/camel/interpreters/docker_interpreter.pyindex 02d97e8e0..7da02c303 100644--- a/camel/interpreters/docker_interpreter.py+++ b/camel/interpreters/docker_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import ioimport shlexdiff --git a/camel/interpreters/internal_python_interpreter.py b/camel/interpreters/internal_python_interpreter.pyindex 709e4ab6b..2a250b443 100644--- a/camel/interpreters/internal_python_interpreter.py+++ b/camel/interpreters/internal_python_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import astimport difflibimport importlibdiff --git a/camel/interpreters/interpreter_error.py b/camel/interpreters/interpreter_error.pyindex d4b96d0c3..2cb31ac70 100644--- a/camel/interpreters/interpreter_error.py+++ b/camel/interpreters/interpreter_error.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========# TODO: Do we need a file to store this error class?class InterpreterError(Exception):diff --git a/camel/interpreters/ipython_interpreter.py b/camel/interpreters/ipython_interpreter.pyindex 9a0ebdcdf..5ed635192 100644--- a/camel/interpreters/ipython_interpreter.py+++ b/camel/interpreters/ipython_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import queueimport rediff --git a/camel/interpreters/subprocess_interpreter.py b/camel/interpreters/subprocess_interpreter.pyindex fb5ac9f98..3e9aee940 100644--- a/camel/interpreters/subprocess_interpreter.py+++ b/camel/interpreters/subprocess_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import shleximport subprocessdiff --git a/camel/loaders/__init__.py b/camel/loaders/__init__.pyindex 73926bd91..787a50d5f 100644--- a/camel/loaders/__init__.py+++ b/camel/loaders/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .apify_reader import Apifyfrom .base_io import Filediff --git a/camel/loaders/apify_reader.py b/camel/loaders/apify_reader.pyindex 58cbde806..6224ce60c 100644--- a/camel/loaders/apify_reader.py+++ b/camel/loaders/apify_reader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import TYPE_CHECKING, List, Optionaldiff --git a/camel/loaders/base_io.py b/camel/loaders/base_io.pyindex 4b8cf0137..ee492eda2 100644--- a/camel/loaders/base_io.py+++ b/camel/loaders/base_io.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport refrom abc import ABC, abstractmethoddiff --git a/camel/loaders/chunkr_reader.py b/camel/loaders/chunkr_reader.pyindex 165919a0e..ae2907859 100644--- a/camel/loaders/chunkr_reader.py+++ b/camel/loaders/chunkr_reader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport loggingdiff --git a/camel/loaders/firecrawl_reader.py b/camel/loaders/firecrawl_reader.pyindex da05fbc9f..8d37a476a 100644--- a/camel/loaders/firecrawl_reader.py+++ b/camel/loaders/firecrawl_reader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, Optionaldiff --git a/camel/loaders/jina_url_reader.py b/camel/loaders/jina_url_reader.pyindex 2cf3a0ed6..279011158 100644--- a/camel/loaders/jina_url_reader.py+++ b/camel/loaders/jina_url_reader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Optionaldiff --git a/camel/loaders/unstructured_io.py b/camel/loaders/unstructured_io.pyindex 81439c30c..c86287c86 100644--- a/camel/loaders/unstructured_io.py+++ b/camel/loaders/unstructured_io.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import uuidimport warningsfrom typing import (diff --git a/camel/memories/__init__.py b/camel/memories/__init__.pyindex 8c03ff790..44dbae405 100644--- a/camel/memories/__init__.py+++ b/camel/memories/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .agent_memories import (ChatHistoryMemory,diff --git a/camel/memories/agent_memories.py b/camel/memories/agent_memories.pyindex 3c4ca834c..3e4bf6123 100644--- a/camel/memories/agent_memories.py+++ b/camel/memories/agent_memories.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import List, Optionaldiff --git a/camel/memories/base.py b/camel/memories/base.pyindex 9e09e2ca2..57865236c 100644--- a/camel/memories/base.py+++ b/camel/memories/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import List, Tuplediff --git a/camel/memories/blocks/__init__.py b/camel/memories/blocks/__init__.pyindex 4202a2bba..ae07acefe 100644--- a/camel/memories/blocks/__init__.py+++ b/camel/memories/blocks/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .chat_history_block import ChatHistoryBlockfrom .vectordb_block import VectorDBBlockdiff --git a/camel/memories/blocks/chat_history_block.py b/camel/memories/blocks/chat_history_block.pyindex 1d011c058..74b6dfb39 100644--- a/camel/memories/blocks/chat_history_block.py+++ b/camel/memories/blocks/chat_history_block.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import warningsfrom typing import List, Optionaldiff --git a/camel/memories/blocks/vectordb_block.py b/camel/memories/blocks/vectordb_block.pyindex f1aced095..6a9f3d0bc 100644--- a/camel/memories/blocks/vectordb_block.py+++ b/camel/memories/blocks/vectordb_block.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import List, Optionaldiff --git a/camel/memories/context_creators/__init__.py b/camel/memories/context_creators/__init__.pyindex 8608415fc..f2c939308 100644--- a/camel/memories/context_creators/__init__.py+++ b/camel/memories/context_creators/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .score_based import ScoreBasedContextCreatordiff --git a/camel/memories/context_creators/score_based.py b/camel/memories/context_creators/score_based.pyindex 2d6f45140..9ccd7ccb8 100644--- a/camel/memories/context_creators/score_based.py+++ b/camel/memories/context_creators/score_based.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import List, Tuplefrom pydantic import BaseModeldiff --git a/camel/memories/records.py b/camel/memories/records.pyindex aa5297784..f30b82687 100644--- a/camel/memories/records.py+++ b/camel/memories/records.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from dataclasses import asdictfrom typing import Any, ClassVar, Dictdiff --git a/camel/messages/__init__.py b/camel/messages/__init__.pyindex b0779f153..a101901a0 100644--- a/camel/messages/__init__.py+++ b/camel/messages/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.types import (ChatCompletionAssistantMessageParam,ChatCompletionFunctionMessageParam,diff --git a/camel/messages/base.py b/camel/messages/base.pyindex e2ec9dd14..a78340df2 100644--- a/camel/messages/base.py+++ b/camel/messages/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import base64import ioimport rediff --git a/camel/messages/conversion/__init__.py b/camel/messages/conversion/__init__.pyindex 1a04972f5..e2d115663 100644--- a/camel/messages/conversion/__init__.py+++ b/camel/messages/conversion/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .models import (ShareGPTConversation,diff --git a/camel/messages/conversion/models.py b/camel/messages/conversion/models.pyindex 6f468c747..28dbea5c6 100644--- a/camel/messages/conversion/models.py+++ b/camel/messages/conversion/models.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonfrom typing import Any, Dict, List, Literaldiff --git a/camel/messages/conversion/sharegpt/__init__.py b/camel/messages/conversion/sharegpt/__init__.pyindex aa950c4c6..63c15d1c9 100644--- a/camel/messages/conversion/sharegpt/__init__.py+++ b/camel/messages/conversion/sharegpt/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .hermes import HermesFunctionFormatterdiff --git a/camel/messages/conversion/sharegpt/function_call_formatter.py b/camel/messages/conversion/sharegpt/function_call_formatter.pyindex 555f11008..b70248a1e 100644--- a/camel/messages/conversion/sharegpt/function_call_formatter.py+++ b/camel/messages/conversion/sharegpt/function_call_formatter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Dict, Generic, List, Optional, TypeVardiff --git a/camel/messages/conversion/sharegpt/hermes/__init__.py b/camel/messages/conversion/sharegpt/hermes/__init__.pyindex 0be41e33c..f17a46c20 100644--- a/camel/messages/conversion/sharegpt/hermes/__init__.py+++ b/camel/messages/conversion/sharegpt/hermes/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .hermes_function_formatter import HermesFunctionFormatterdiff --git a/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py b/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.pyindex 8a243c49a..0cb7e16e0 100644--- a/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py+++ b/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport refrom typing import Any, Dict, List, Optionaldiff --git a/camel/messages/func_message.py b/camel/messages/func_message.pyindex 2c99c923a..f69250d5d 100644--- a/camel/messages/func_message.py+++ b/camel/messages/func_message.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from dataclasses import dataclassfrom typing import Any, Dict, Optionaldiff --git a/camel/models/__init__.py b/camel/models/__init__.pyindex 8b7435922..9be47e68c 100644--- a/camel/models/__init__.py+++ b/camel/models/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .anthropic_model import AnthropicModelfrom .azure_openai_model import AzureOpenAIModelfrom .base_model import BaseModelBackenddiff --git a/camel/models/anthropic_model.py b/camel/models/anthropic_model.pyindex bd7958a82..8fd7e565e 100644--- a/camel/models/anthropic_model.py+++ b/camel/models/anthropic_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/azure_openai_model.py b/camel/models/azure_openai_model.pyindex 4e5290b10..7a94c213d 100644--- a/camel/models/azure_openai_model.py+++ b/camel/models/azure_openai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/base_model.py b/camel/models/base_model.pyindex 8f08ca473..bab52e63b 100644--- a/camel/models/base_model.py+++ b/camel/models/base_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/cohere_model.py b/camel/models/cohere_model.pyindex 7d476f0c0..8376f42f7 100644--- a/camel/models/cohere_model.py+++ b/camel/models/cohere_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import astimport jsonimport loggingdiff --git a/camel/models/gemini_model.py b/camel/models/gemini_model.pyindex 3448fea26..8d5a39486 100644--- a/camel/models/gemini_model.py+++ b/camel/models/gemini_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import TYPE_CHECKING, Any, Dict, List, Optional, Uniondiff --git a/camel/models/groq_model.py b/camel/models/groq_model.pyindex 875fe0a94..5295ec70c 100644--- a/camel/models/groq_model.py+++ b/camel/models/groq_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/litellm_model.py b/camel/models/litellm_model.pyindex 774e3edd1..e06feab66 100644--- a/camel/models/litellm_model.py+++ b/camel/models/litellm_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dict, List, Optional, Unionfrom camel.configs import LITELLM_API_PARAMS, LiteLLMConfigdiff --git a/camel/models/mistral_model.py b/camel/models/mistral_model.pyindex c48f73e89..d95aa992b 100644--- a/camel/models/mistral_model.py+++ b/camel/models/mistral_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import TYPE_CHECKING, Any, Dict, List, Optional, Uniondiff --git a/camel/models/model_factory.py b/camel/models/model_factory.pyindex 30a0da6d0..ff01321ca 100644--- a/camel/models/model_factory.py+++ b/camel/models/model_factory.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Dict, Optional, Type, Unionfrom camel.models.anthropic_model import AnthropicModeldiff --git a/camel/models/nemotron_model.py b/camel/models/nemotron_model.pyindex 2eb4d6a6c..7fbc3451a 100644--- a/camel/models/nemotron_model.py+++ b/camel/models/nemotron_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import List, Optional, Uniondiff --git a/camel/models/ollama_model.py b/camel/models/ollama_model.pyindex c957a76de..7c8052e6c 100644--- a/camel/models/ollama_model.py+++ b/camel/models/ollama_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport subprocessfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/openai_audio_models.py b/camel/models/openai_audio_models.pyindex 419efebb2..e4d05c8f9 100644--- a/camel/models/openai_audio_models.py+++ b/camel/models/openai_audio_models.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, List, Optional, Uniondiff --git a/camel/models/openai_compatible_model.py b/camel/models/openai_compatible_model.pyindex 1796f28c9..cb7df1f68 100644--- a/camel/models/openai_compatible_model.py+++ b/camel/models/openai_compatible_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/openai_model.py b/camel/models/openai_model.pyindex 9e8e2d9b3..27f388566 100644--- a/camel/models/openai_model.py+++ b/camel/models/openai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport warningsfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/qwen_model.py b/camel/models/qwen_model.pyindex 13c2a8fd8..1852f847a 100644--- a/camel/models/qwen_model.py+++ b/camel/models/qwen_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/reka_model.py b/camel/models/reka_model.pyindex cfdc0129c..e182fd05b 100644--- a/camel/models/reka_model.py+++ b/camel/models/reka_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import TYPE_CHECKING, Any, Dict, List, Optional, Unionfrom camel.configs import REKA_API_PARAMS, RekaConfigdiff --git a/camel/models/samba_model.py b/camel/models/samba_model.pyindex a14fcfe0b..7bf275c34 100644--- a/camel/models/samba_model.py+++ b/camel/models/samba_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport osimport timediff --git a/camel/models/stub_model.py b/camel/models/stub_model.pyindex 75b5483e6..e85e1298f 100644--- a/camel/models/stub_model.py+++ b/camel/models/stub_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import timefrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/togetherai_model.py b/camel/models/togetherai_model.pyindex 905bc7757..ce3f5b0db 100644--- a/camel/models/togetherai_model.py+++ b/camel/models/togetherai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/vllm_model.py b/camel/models/vllm_model.pyindex 9b8652556..f4abc60a7 100644--- a/camel/models/vllm_model.py+++ b/camel/models/vllm_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport subprocessfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/yi_model.py b/camel/models/yi_model.pyindex 3fde54924..18500c764 100644--- a/camel/models/yi_model.py+++ b/camel/models/yi_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/models/zhipuai_model.py b/camel/models/zhipuai_model.pyindex cdd7a2998..ef710560c 100644--- a/camel/models/zhipuai_model.py+++ b/camel/models/zhipuai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/personas/__init__.py b/camel/personas/__init__.pyindex 69efbe3e4..055d5d0e9 100644--- a/camel/personas/__init__.py+++ b/camel/personas/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .persona import Personafrom .persona_hub import PersonaHubdiff --git a/camel/personas/persona.py b/camel/personas/persona.pyindex 37a7b2a22..ff2b2aab6 100644--- a/camel/personas/persona.py+++ b/camel/personas/persona.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport uuidfrom typing import ClassVar, Optional, Uniondiff --git a/camel/personas/persona_hub.py b/camel/personas/persona_hub.pyindex 595331e79..d282d8a27 100644--- a/camel/personas/persona_hub.py+++ b/camel/personas/persona_hub.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import astimport reimport uuiddiff --git a/camel/prompts/__init__.py b/camel/prompts/__init__.pyindex af996937d..befa375fc 100644--- a/camel/prompts/__init__.py+++ b/camel/prompts/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .ai_society import AISocietyPromptTemplateDictfrom .base import CodePrompt, TextPrompt, TextPromptDictfrom .code import CodePromptTemplateDictdiff --git a/camel/prompts/ai_society.py b/camel/prompts/ai_society.pyindex ef25c362c..335e6706e 100644--- a/camel/prompts/ai_society.py+++ b/camel/prompts/ai_society.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/prompts/base.py b/camel/prompts/base.pyindex 748007aee..10765e61a 100644--- a/camel/prompts/base.py+++ b/camel/prompts/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import inspectfrom typing import Any, Callable, Dict, Optional, Set, TypeVar, Uniondiff --git a/camel/prompts/code.py b/camel/prompts/code.pyindex 51217e6b7..87cd3974e 100644--- a/camel/prompts/code.py+++ b/camel/prompts/code.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/prompts/evaluation.py b/camel/prompts/evaluation.pyindex d668f0f97..60566b6bc 100644--- a/camel/prompts/evaluation.py+++ b/camel/prompts/evaluation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/prompts/generate_text_embedding_data.py b/camel/prompts/generate_text_embedding_data.pyindex f38b627ab..a799eceb0 100644--- a/camel/prompts/generate_text_embedding_data.py+++ b/camel/prompts/generate_text_embedding_data.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts import TextPrompt, TextPromptDictdiff --git a/camel/prompts/image_craft.py b/camel/prompts/image_craft.pyindex a0cd1a119..ac40de5b1 100644--- a/camel/prompts/image_craft.py+++ b/camel/prompts/image_craft.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts import TextPrompt, TextPromptDictdiff --git a/camel/prompts/misalignment.py b/camel/prompts/misalignment.pyindex 3cad6f588..0118c458c 100644--- a/camel/prompts/misalignment.py+++ b/camel/prompts/misalignment.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.ai_society import AISocietyPromptTemplateDictdiff --git a/camel/prompts/multi_condition_image_craft.py b/camel/prompts/multi_condition_image_craft.pyindex 7b017b01b..d9154ae05 100644--- a/camel/prompts/multi_condition_image_craft.py+++ b/camel/prompts/multi_condition_image_craft.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts import TextPrompt, TextPromptDictdiff --git a/camel/prompts/object_recognition.py b/camel/prompts/object_recognition.pyindex 78b7ea170..38b814124 100644--- a/camel/prompts/object_recognition.py+++ b/camel/prompts/object_recognition.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/prompts/persona_hub.py b/camel/prompts/persona_hub.pyindex 8b5c9cf19..b8b6f939c 100644--- a/camel/prompts/persona_hub.py+++ b/camel/prompts/persona_hub.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anydiff --git a/camel/prompts/prompt_templates.py b/camel/prompts/prompt_templates.pyindex 6979bb8ae..f3febc032 100644--- a/camel/prompts/prompt_templates.py+++ b/camel/prompts/prompt_templates.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import warningsfrom typing import Any, Optionaldiff --git a/camel/prompts/role_description_prompt_template.py b/camel/prompts/role_description_prompt_template.pyindex 894e51b6a..d7336b307 100644--- a/camel/prompts/role_description_prompt_template.py+++ b/camel/prompts/role_description_prompt_template.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.ai_society import AISocietyPromptTemplateDictdiff --git a/camel/prompts/solution_extraction.py b/camel/prompts/solution_extraction.pyindex e256a0f27..547c6683e 100644--- a/camel/prompts/solution_extraction.py+++ b/camel/prompts/solution_extraction.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/prompts/task_prompt_template.py b/camel/prompts/task_prompt_template.pyindex 6662697bb..0cc22b760 100644--- a/camel/prompts/task_prompt_template.py+++ b/camel/prompts/task_prompt_template.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dictfrom camel.prompts.ai_society import (diff --git a/camel/prompts/translation.py b/camel/prompts/translation.pyindex 68abc4e65..3eed0a2e0 100644--- a/camel/prompts/translation.py+++ b/camel/prompts/translation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/prompts/video_description_prompt.py b/camel/prompts/video_description_prompt.pyindex 77d6a3c4c..92de2c956 100644--- a/camel/prompts/video_description_prompt.py+++ b/camel/prompts/video_description_prompt.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Anyfrom camel.prompts.base import TextPrompt, TextPromptDictdiff --git a/camel/responses/__init__.py b/camel/responses/__init__.pyindex 2d319e6f1..527a586de 100644--- a/camel/responses/__init__.py+++ b/camel/responses/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .agent_responses import ChatAgentResponse__all__ = [diff --git a/camel/responses/agent_responses.py b/camel/responses/agent_responses.pyindex abe0652cf..3fa960f0f 100644--- a/camel/responses/agent_responses.py+++ b/camel/responses/agent_responses.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dict, Listfrom pydantic import BaseModel, ConfigDictdiff --git a/camel/retrievers/__init__.py b/camel/retrievers/__init__.pyindex 9aea5ec75..a8257cfe8 100644--- a/camel/retrievers/__init__.py+++ b/camel/retrievers/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .auto_retriever import AutoRetrieverfrom .base import BaseRetrieverfrom .bm25_retriever import BM25Retrieverdiff --git a/camel/retrievers/auto_retriever.py b/camel/retrievers/auto_retriever.pyindex 4eb1ac390..f9c5175b1 100644--- a/camel/retrievers/auto_retriever.py+++ b/camel/retrievers/auto_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport uuidfrom typing import (diff --git a/camel/retrievers/base.py b/camel/retrievers/base.pyindex 73d33ed8b..f2c6e7608 100644--- a/camel/retrievers/base.py+++ b/camel/retrievers/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Callablediff --git a/camel/retrievers/bm25_retriever.py b/camel/retrievers/bm25_retriever.pyindex 4d085b10c..d51652f48 100644--- a/camel/retrievers/bm25_retriever.py+++ b/camel/retrievers/bm25_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dict, Listimport numpy as npdiff --git a/camel/retrievers/cohere_rerank_retriever.py b/camel/retrievers/cohere_rerank_retriever.pyindex d54701db8..35ad4f5e3 100644--- a/camel/retrievers/cohere_rerank_retriever.py+++ b/camel/retrievers/cohere_rerank_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Optionaldiff --git a/camel/retrievers/vector_retriever.py b/camel/retrievers/vector_retriever.pyindex 4a083b0d5..224dabd9a 100644--- a/camel/retrievers/vector_retriever.py+++ b/camel/retrievers/vector_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport warningsfrom io import IOBasediff --git a/camel/runtime/__init__.py b/camel/runtime/__init__.pyindex 2f8177469..024b7b066 100644--- a/camel/runtime/__init__.py+++ b/camel/runtime/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseRuntimefrom .configs import TaskConfigfrom .docker_runtime import DockerRuntimediff --git a/camel/runtime/api.py b/camel/runtime/api.pyindex cf5b5bc27..ad9ed9666 100644--- a/camel/runtime/api.py+++ b/camel/runtime/api.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import importlibimport ioimport jsondiff --git a/camel/runtime/base.py b/camel/runtime/base.pyindex 622ef4f7a..ab09c926e 100644--- a/camel/runtime/base.py+++ b/camel/runtime/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, List, Uniondiff --git a/camel/runtime/configs.py b/camel/runtime/configs.pyindex 4a83271bc..2ff694389 100644--- a/camel/runtime/configs.py+++ b/camel/runtime/configs.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Dict, List, Optional, Unionfrom pydantic import BaseModeldiff --git a/camel/runtime/docker_runtime.py b/camel/runtime/docker_runtime.pyindex a5c7abb82..370899cf6 100644--- a/camel/runtime/docker_runtime.py+++ b/camel/runtime/docker_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import ioimport jsonimport loggingdiff --git a/camel/runtime/llm_guard_runtime.py b/camel/runtime/llm_guard_runtime.pyindex e42bfb7fd..20b136fa1 100644--- a/camel/runtime/llm_guard_runtime.py+++ b/camel/runtime/llm_guard_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport loggingfrom functools import wrapsdiff --git a/camel/runtime/remote_http_runtime.py b/camel/runtime/remote_http_runtime.pyindex 40c4ed1a8..ef34773aa 100644--- a/camel/runtime/remote_http_runtime.py+++ b/camel/runtime/remote_http_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import atexitimport jsonimport loggingdiff --git a/camel/runtime/utils/__init__.py b/camel/runtime/utils/__init__.pyindex dc5dea2bf..4c752145e 100644--- a/camel/runtime/utils/__init__.py+++ b/camel/runtime/utils/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .function_risk_toolkit import FunctionRiskToolkitfrom .ignore_risk_toolkit import IgnoreRiskToolkitdiff --git a/camel/runtime/utils/function_risk_toolkit.py b/camel/runtime/utils/function_risk_toolkit.pyindex 040b259b6..3ea7300d2 100644--- a/camel/runtime/utils/function_risk_toolkit.py+++ b/camel/runtime/utils/function_risk_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import List, Optionalfrom camel.toolkits import FunctionTooldiff --git a/camel/runtime/utils/ignore_risk_toolkit.py b/camel/runtime/utils/ignore_risk_toolkit.pyindex 2d3fae487..f195ed617 100644--- a/camel/runtime/utils/ignore_risk_toolkit.py+++ b/camel/runtime/utils/ignore_risk_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Dict, List, Optionalfrom camel.toolkits import FunctionTooldiff --git a/camel/societies/__init__.py b/camel/societies/__init__.pyindex ff9d788e8..69118d430 100644--- a/camel/societies/__init__.py+++ b/camel/societies/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .babyagi_playing import BabyAGIfrom .role_playing import RolePlayingdiff --git a/camel/societies/babyagi_playing.py b/camel/societies/babyagi_playing.pyindex cf9feacfb..f2fe49148 100644--- a/camel/societies/babyagi_playing.py+++ b/camel/societies/babyagi_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from collections import dequefrom typing import Dict, List, Optionaldiff --git a/camel/societies/role_playing.py b/camel/societies/role_playing.pyindex bcf2fc18c..dd5535711 100644--- a/camel/societies/role_playing.py+++ b/camel/societies/role_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingfrom typing import Dict, List, Optional, Sequence, Tuple, Uniondiff --git a/camel/societies/workforce/__init__.py b/camel/societies/workforce/__init__.pyindex 8435f9e90..8b2f3fe99 100644--- a/camel/societies/workforce/__init__.py+++ b/camel/societies/workforce/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .role_playing_worker import RolePlayingWorkerfrom .single_agent_worker import SingleAgentWorkerdiff --git a/camel/societies/workforce/base.py b/camel/societies/workforce/base.pyindex 1286d3b87..760ed3f2d 100644--- a/camel/societies/workforce/base.py+++ b/camel/societies/workforce/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Anydiff --git a/camel/societies/workforce/prompts.py b/camel/societies/workforce/prompts.pyindex 411c9bfa5..b1e9012e9 100644--- a/camel/societies/workforce/prompts.py+++ b/camel/societies/workforce/prompts.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import TextPrompt# ruff: noqa: E501diff --git a/camel/societies/workforce/role_playing_worker.py b/camel/societies/workforce/role_playing_worker.pyindex 5dfdf38da..5040848a7 100644--- a/camel/societies/workforce/role_playing_worker.py+++ b/camel/societies/workforce/role_playing_worker.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport astdiff --git a/camel/societies/workforce/single_agent_worker.py b/camel/societies/workforce/single_agent_worker.pyindex 7d6912534..3ab102d32 100644--- a/camel/societies/workforce/single_agent_worker.py+++ b/camel/societies/workforce/single_agent_worker.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport astdiff --git a/camel/societies/workforce/task_channel.py b/camel/societies/workforce/task_channel.pyindex d8cbfd77a..63a3cb19e 100644--- a/camel/societies/workforce/task_channel.py+++ b/camel/societies/workforce/task_channel.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asynciofrom enum import Enumfrom typing import Dict, List, Optionaldiff --git a/camel/societies/workforce/utils.py b/camel/societies/workforce/utils.pyindex cb04408e7..bdf0aafa8 100644--- a/camel/societies/workforce/utils.py+++ b/camel/societies/workforce/utils.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from functools import wrapsfrom typing import Callablediff --git a/camel/societies/workforce/worker.py b/camel/societies/workforce/worker.pyindex 8ebd72b58..a5fa3ea6f 100644--- a/camel/societies/workforce/worker.py+++ b/camel/societies/workforce/worker.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport loggingdiff --git a/camel/societies/workforce/workforce.py b/camel/societies/workforce/workforce.pyindex 3c9c98ae1..ec7c6764e 100644--- a/camel/societies/workforce/workforce.py+++ b/camel/societies/workforce/workforce.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport astdiff --git a/camel/storages/__init__.py b/camel/storages/__init__.pyindex 37f5e5283..5fc932f2d 100644--- a/camel/storages/__init__.py+++ b/camel/storages/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .graph_storages.base import BaseGraphStoragefrom .graph_storages.nebula_graph import NebulaGraphdiff --git a/camel/storages/graph_storages/__init__.py b/camel/storages/graph_storages/__init__.pyindex f5898411c..31d502071 100644--- a/camel/storages/graph_storages/__init__.py+++ b/camel/storages/graph_storages/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseGraphStoragefrom .graph_element import GraphElementdiff --git a/camel/storages/graph_storages/base.py b/camel/storages/graph_storages/base.pyindex bd521924b..09debd458 100644--- a/camel/storages/graph_storages/base.py+++ b/camel/storages/graph_storages/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Dict, List, Optionaldiff --git a/camel/storages/graph_storages/graph_element.py b/camel/storages/graph_storages/graph_element.pyindex cc919ee08..656f146c0 100644--- a/camel/storages/graph_storages/graph_element.py+++ b/camel/storages/graph_storages/graph_element.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsfrom typing import List, Uniondiff --git a/camel/storages/graph_storages/nebula_graph.py b/camel/storages/graph_storages/nebula_graph.pyindex 722030511..ed73bf7dc 100644--- a/camel/storages/graph_storages/nebula_graph.py+++ b/camel/storages/graph_storages/nebula_graph.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import timefrom typing import TYPE_CHECKING, Any, Dict, List, Tuplediff --git a/camel/storages/graph_storages/neo4j_graph.py b/camel/storages/graph_storages/neo4j_graph.pyindex a5eaba446..201f80a49 100644--- a/camel/storages/graph_storages/neo4j_graph.py+++ b/camel/storages/graph_storages/neo4j_graph.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingimport osfrom hashlib import md5diff --git a/camel/storages/key_value_storages/__init__.py b/camel/storages/key_value_storages/__init__.pyindex 7fe3e5e1b..014a69288 100644--- a/camel/storages/key_value_storages/__init__.py+++ b/camel/storages/key_value_storages/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseKeyValueStoragefrom .in_memory import InMemoryKeyValueStoragediff --git a/camel/storages/key_value_storages/base.py b/camel/storages/key_value_storages/base.pyindex 9902cde5b..b47d999f7 100644--- a/camel/storages/key_value_storages/base.py+++ b/camel/storages/key_value_storages/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Dict, Listdiff --git a/camel/storages/key_value_storages/in_memory.py b/camel/storages/key_value_storages/in_memory.pyindex 9b06ccae2..17c3f75e5 100644--- a/camel/storages/key_value_storages/in_memory.py+++ b/camel/storages/key_value_storages/in_memory.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from copy import deepcopyfrom typing import Any, Dict, Listdiff --git a/camel/storages/key_value_storages/json.py b/camel/storages/key_value_storages/json.pyindex aea582620..50f666029 100644--- a/camel/storages/key_value_storages/json.py+++ b/camel/storages/key_value_storages/json.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonfrom enum import EnumMetadiff --git a/camel/storages/key_value_storages/redis.py b/camel/storages/key_value_storages/redis.pyindex 0d4b0fa45..30c5c47a4 100644--- a/camel/storages/key_value_storages/redis.py+++ b/camel/storages/key_value_storages/redis.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asyncioimport jsondiff --git a/camel/storages/object_storages/__init__.py b/camel/storages/object_storages/__init__.pyindex c1deef74d..57b10f4a4 100644--- a/camel/storages/object_storages/__init__.py+++ b/camel/storages/object_storages/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .amazon_s3 import AmazonS3Storagefrom .azure_blob import AzureBlobStoragefrom .google_cloud import GoogleCloudStoragediff --git a/camel/storages/object_storages/amazon_s3.py b/camel/storages/object_storages/amazon_s3.pyindex ed6cb747a..cc3de15f7 100644--- a/camel/storages/object_storages/amazon_s3.py+++ b/camel/storages/object_storages/amazon_s3.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom pathlib import Path, PurePathdiff --git a/camel/storages/object_storages/azure_blob.py b/camel/storages/object_storages/azure_blob.pyindex 676de04a3..e4755120e 100644--- a/camel/storages/object_storages/azure_blob.py+++ b/camel/storages/object_storages/azure_blob.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom pathlib import Path, PurePathfrom typing import Optional, Tuplediff --git a/camel/storages/object_storages/base.py b/camel/storages/object_storages/base.pyindex 5906b4fee..cd7b199ca 100644--- a/camel/storages/object_storages/base.py+++ b/camel/storages/object_storages/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom pathlib import Path, PurePathdiff --git a/camel/storages/object_storages/google_cloud.py b/camel/storages/object_storages/google_cloud.pyindex 96f4f99b7..5f723282c 100644--- a/camel/storages/object_storages/google_cloud.py+++ b/camel/storages/object_storages/google_cloud.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pathlib import Path, PurePathfrom typing import Tuplefrom warnings import warndiff --git a/camel/storages/vectordb_storages/__init__.py b/camel/storages/vectordb_storages/__init__.pyindex 7e8d5e560..a4b5ead4c 100644--- a/camel/storages/vectordb_storages/__init__.py+++ b/camel/storages/vectordb_storages/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import (BaseVectorStorage,diff --git a/camel/storages/vectordb_storages/base.py b/camel/storages/vectordb_storages/base.pyindex e2d2b476f..6fb32acca 100644--- a/camel/storages/vectordb_storages/base.py+++ b/camel/storages/vectordb_storages/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import Any, Dict, List, Optionaldiff --git a/camel/storages/vectordb_storages/milvus.py b/camel/storages/vectordb_storages/milvus.pyindex e01036d26..1537b0fcb 100644--- a/camel/storages/vectordb_storages/milvus.py+++ b/camel/storages/vectordb_storages/milvus.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingimport refrom datetime import datetimediff --git a/camel/storages/vectordb_storages/qdrant.py b/camel/storages/vectordb_storages/qdrant.pyindex 0aa7d38dd..12a66b236 100644--- a/camel/storages/vectordb_storages/qdrant.py+++ b/camel/storages/vectordb_storages/qdrant.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingfrom datetime import datetimefrom typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union, castdiff --git a/camel/tasks/__init__.py b/camel/tasks/__init__.pyindex 4b8a03e07..5cf00d2c6 100644--- a/camel/tasks/__init__.py+++ b/camel/tasks/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .task import Task, TaskManagerfrom .task_prompt import TASK_DECOMPOSE_PROMPT, TASK_EVOLVE_PROMPTdiff --git a/camel/tasks/task.py b/camel/tasks/task.pyindex 45c973f43..3490b894e 100644--- a/camel/tasks/task.py+++ b/camel/tasks/task.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import refrom enum import Enumdiff --git a/camel/tasks/task_prompt.py b/camel/tasks/task_prompt.pyindex b6d43977f..f01fa7940 100644--- a/camel/tasks/task_prompt.py+++ b/camel/tasks/task_prompt.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import TextPrompt# ruff: noqa: E501diff --git a/camel/terminators/__init__.py b/camel/terminators/__init__.pyindex e4bba38c1..439023aab 100644--- a/camel/terminators/__init__.py+++ b/camel/terminators/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .base import BaseTerminatorfrom .response_terminator import ResponseTerminator, ResponseWordsTerminatorfrom .token_limit_terminator import TokenLimitTerminatordiff --git a/camel/terminators/base.py b/camel/terminators/base.pyindex f1b8d08b2..b97d1f150 100644--- a/camel/terminators/base.py+++ b/camel/terminators/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from abc import ABC, abstractmethodfrom typing import List, Optional, Tuplediff --git a/camel/terminators/response_terminator.py b/camel/terminators/response_terminator.pyindex f82da9550..987f22df9 100644--- a/camel/terminators/response_terminator.py+++ b/camel/terminators/response_terminator.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from collections import defaultdictfrom typing import Dict, List, Optional, Tuplediff --git a/camel/terminators/token_limit_terminator.py b/camel/terminators/token_limit_terminator.pyindex 7eaeaf2fd..2145a2c20 100644--- a/camel/terminators/token_limit_terminator.py+++ b/camel/terminators/token_limit_terminator.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Optional, Tuplefrom camel.terminators.base import BaseTerminatordiff --git a/camel/toolkits/__init__.py b/camel/toolkits/__init__.pyindex 0407c5468..8f47fb513 100644--- a/camel/toolkits/__init__.py+++ b/camel/toolkits/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========# ruff: noqa: I001from .function_tool import (FunctionTool,diff --git a/camel/toolkits/arxiv_toolkit.py b/camel/toolkits/arxiv_toolkit.pyindex c3719edec..2ff96eedf 100644--- a/camel/toolkits/arxiv_toolkit.py+++ b/camel/toolkits/arxiv_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Dict, Generator, List, Optionaldiff --git a/camel/toolkits/ask_news_toolkit.py b/camel/toolkits/ask_news_toolkit.pyindex a1043085f..a5c7bc6b2 100644--- a/camel/toolkits/ask_news_toolkit.py+++ b/camel/toolkits/ask_news_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom datetime import datetimefrom typing import List, Literal, Optional, Tuple, Uniondiff --git a/camel/toolkits/base.py b/camel/toolkits/base.pyindex 1396febe1..9694af699 100644--- a/camel/toolkits/base.py+++ b/camel/toolkits/base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/camel/toolkits/code_execution.py b/camel/toolkits/code_execution.pyindex cb3557627..4d277db68 100644--- a/camel/toolkits/code_execution.py+++ b/camel/toolkits/code_execution.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import List, Literal, Optionalfrom camel.interpreters import InternalPythonInterpreterdiff --git a/camel/toolkits/dalle_toolkit.py b/camel/toolkits/dalle_toolkit.pyindex 7f1811cee..a1c5b8a39 100644--- a/camel/toolkits/dalle_toolkit.py+++ b/camel/toolkits/dalle_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import base64import osimport uuiddiff --git a/camel/toolkits/data_commons_toolkit.py b/camel/toolkits/data_commons_toolkit.pyindex 714bdbdb5..208ed5738 100644--- a/camel/toolkits/data_commons_toolkit.py+++ b/camel/toolkits/data_commons_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingfrom typing import Any, Dict, List, Optional, Uniondiff --git a/camel/toolkits/function_tool.py b/camel/toolkits/function_tool.pyindex efcf04b66..ef123cbac 100644--- a/camel/toolkits/function_tool.py+++ b/camel/toolkits/function_tool.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import astimport inspectimport loggingdiff --git a/camel/toolkits/github_toolkit.py b/camel/toolkits/github_toolkit.pyindex 02481d8d0..316e911d5 100644--- a/camel/toolkits/github_toolkit.py+++ b/camel/toolkits/github_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingimport osdiff --git a/camel/toolkits/google_maps_toolkit.py b/camel/toolkits/google_maps_toolkit.pyindex 6b5ff04a5..bddf119d6 100644--- a/camel/toolkits/google_maps_toolkit.py+++ b/camel/toolkits/google_maps_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom functools import wrapsfrom typing import Any, Callable, List, Optional, Uniondiff --git a/camel/toolkits/google_scholar_toolkit.py b/camel/toolkits/google_scholar_toolkit.pyindex 9dd444dfe..b59b1dac5 100644--- a/camel/toolkits/google_scholar_toolkit.py+++ b/camel/toolkits/google_scholar_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import refrom typing import Any, Dict, List, Optionaldiff --git a/camel/toolkits/human_toolkit.py b/camel/toolkits/human_toolkit.pyindex ba50f8c2c..b8b92785a 100644--- a/camel/toolkits/human_toolkit.py+++ b/camel/toolkits/human_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/camel/toolkits/linkedin_toolkit.py b/camel/toolkits/linkedin_toolkit.pyindex 3ed063b53..840f4c418 100644--- a/camel/toolkits/linkedin_toolkit.py+++ b/camel/toolkits/linkedin_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport osdiff --git a/camel/toolkits/math_toolkit.py b/camel/toolkits/math_toolkit.pyindex c728825ca..6bf3f87ea 100644--- a/camel/toolkits/math_toolkit.py+++ b/camel/toolkits/math_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/camel/toolkits/notion_toolkit.py b/camel/toolkits/notion_toolkit.pyindex a81cc0905..1c3be3a65 100644--- a/camel/toolkits/notion_toolkit.py+++ b/camel/toolkits/notion_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import List, Optional, castdiff --git a/camel/toolkits/open_api_specs/biztoc/__init__.py b/camel/toolkits/open_api_specs/biztoc/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/biztoc/__init__.py+++ b/camel/toolkits/open_api_specs/biztoc/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/coursera/__init__.py b/camel/toolkits/open_api_specs/coursera/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/coursera/__init__.py+++ b/camel/toolkits/open_api_specs/coursera/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/create_qr_code/__init__.py b/camel/toolkits/open_api_specs/create_qr_code/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/create_qr_code/__init__.py+++ b/camel/toolkits/open_api_specs/create_qr_code/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/klarna/__init__.py b/camel/toolkits/open_api_specs/klarna/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/klarna/__init__.py+++ b/camel/toolkits/open_api_specs/klarna/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/nasa_apod/__init__.py b/camel/toolkits/open_api_specs/nasa_apod/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/nasa_apod/__init__.py+++ b/camel/toolkits/open_api_specs/nasa_apod/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/outschool/__init__.py b/camel/toolkits/open_api_specs/outschool/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/outschool/__init__.py+++ b/camel/toolkits/open_api_specs/outschool/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/outschool/paths/__init__.py b/camel/toolkits/open_api_specs/outschool/paths/__init__.pyindex bd5187f28..881c57b91 100644--- a/camel/toolkits/open_api_specs/outschool/paths/__init__.py+++ b/camel/toolkits/open_api_specs/outschool/paths/__init__.py@@ -1,14 +1,14 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========path_dict = {"get_classes": "/classes", "search_teachers": "/teachers"}diff --git a/camel/toolkits/open_api_specs/outschool/paths/get_classes.py b/camel/toolkits/open_api_specs/outschool/paths/get_classes.pyindex d5abef7ce..03c72ba49 100644--- a/camel/toolkits/open_api_specs/outschool/paths/get_classes.py+++ b/camel/toolkits/open_api_specs/outschool/paths/get_classes.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Get classes from Outschool API."""from typing import Any, Dictdiff --git a/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py b/camel/toolkits/open_api_specs/outschool/paths/search_teachers.pyindex a67225b99..a12137805 100644--- a/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py+++ b/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Search for teachers on Outschool."""from typing import Any, Dictdiff --git a/camel/toolkits/open_api_specs/security_config.py b/camel/toolkits/open_api_specs/security_config.pyindex b19b774d1..06749610a 100644--- a/camel/toolkits/open_api_specs/security_config.py+++ b/camel/toolkits/open_api_specs/security_config.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.types import OpenAPINameopenapi_security_config = {diff --git a/camel/toolkits/open_api_specs/speak/__init__.py b/camel/toolkits/open_api_specs/speak/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/speak/__init__.py+++ b/camel/toolkits/open_api_specs/speak/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/web_scraper/__init__.py b/camel/toolkits/open_api_specs/web_scraper/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/web_scraper/__init__.py+++ b/camel/toolkits/open_api_specs/web_scraper/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py b/camel/toolkits/open_api_specs/web_scraper/paths/__init__.pyindex d963f8cc8..0f91e59f5 100644--- a/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py+++ b/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py b/camel/toolkits/open_api_specs/web_scraper/paths/scraper.pyindex d1708bbcd..1c84154c4 100644--- a/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py+++ b/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""Scrape data from a website using the Scraper API."""from typing import Any, Dictdiff --git a/camel/toolkits/open_api_toolkit.py b/camel/toolkits/open_api_toolkit.pyindex bca387c31..807dc83ab 100644--- a/camel/toolkits/open_api_toolkit.py+++ b/camel/toolkits/open_api_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport osfrom typing import Any, Callable, Dict, List, Optional, Tuplediff --git a/camel/toolkits/reddit_toolkit.py b/camel/toolkits/reddit_toolkit.pyindex 85df479ba..1415a578b 100644--- a/camel/toolkits/reddit_toolkit.py+++ b/camel/toolkits/reddit_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport timediff --git a/camel/toolkits/retrieval_toolkit.py b/camel/toolkits/retrieval_toolkit.pyindex c595d35a3..f628da298 100644--- a/camel/toolkits/retrieval_toolkit.py+++ b/camel/toolkits/retrieval_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import List, Optional, Unionfrom camel.retrievers import AutoRetrieverdiff --git a/camel/toolkits/search_toolkit.py b/camel/toolkits/search_toolkit.pyindex 491555c45..f61e1c47b 100644--- a/camel/toolkits/search_toolkit.py+++ b/camel/toolkits/search_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport xml.etree.ElementTree as ETfrom typing import Any, Dict, List, Uniondiff --git a/camel/toolkits/slack_toolkit.py b/camel/toolkits/slack_toolkit.pyindex 2eb2c2446..8dcc2be35 100644--- a/camel/toolkits/slack_toolkit.py+++ b/camel/toolkits/slack_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsdiff --git a/camel/toolkits/twitter_toolkit.py b/camel/toolkits/twitter_toolkit.pyindex 95d82673a..41de4d8ae 100644--- a/camel/toolkits/twitter_toolkit.py+++ b/camel/toolkits/twitter_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import datetimeimport osfrom http import HTTPStatusdiff --git a/camel/toolkits/video_toolkit.py b/camel/toolkits/video_toolkit.pyindex 826c0cd31..1987cfdef 100644--- a/camel/toolkits/video_toolkit.py+++ b/camel/toolkits/video_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import ioimport loggingdiff --git a/camel/toolkits/weather_toolkit.py b/camel/toolkits/weather_toolkit.pyindex f44530562..29914bc83 100644--- a/camel/toolkits/weather_toolkit.py+++ b/camel/toolkits/weather_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import List, Literaldiff --git a/camel/toolkits/whatsapp_toolkit.py b/camel/toolkits/whatsapp_toolkit.pyindex 4902a41b4..80f778cfa 100644--- a/camel/toolkits/whatsapp_toolkit.py+++ b/camel/toolkits/whatsapp_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom typing import Any, Dict, List, Uniondiff --git a/camel/types/__init__.py b/camel/types/__init__.pyindex 9294d1ef9..7c6a3dcab 100644--- a/camel/types/__init__.py+++ b/camel/types/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .enums import (AudioModelType,EmbeddingModelType,diff --git a/camel/types/enums.py b/camel/types/enums.pyindex 53631969f..98fd3d2d6 100644--- a/camel/types/enums.py+++ b/camel/types/enums.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom enum import Enum, EnumMetafrom typing import castdiff --git a/camel/types/openai_types.py b/camel/types/openai_types.pyindex 468504ecd..e0c56b8d8 100644--- a/camel/types/openai_types.py+++ b/camel/types/openai_types.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========# isort: skip_filefrom openai.types.chat.chat_completion import ChatCompletion, Choicefrom openai.types.chat.chat_completion_assistant_message_param import (diff --git a/camel/types/unified_model_type.py b/camel/types/unified_model_type.pyindex 8a3dd6121..30fcc1d59 100644--- a/camel/types/unified_model_type.py+++ b/camel/types/unified_model_type.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingfrom threading import Lockfrom typing import TYPE_CHECKING, ClassVar, Dict, Union, castdiff --git a/camel/utils/__init__.py b/camel/utils/__init__.pyindex 934968f5d..e90d98cec 100644--- a/camel/utils/__init__.py+++ b/camel/utils/__init__.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from .commons import (AgentOpsMeta,diff --git a/camel/utils/async_func.py b/camel/utils/async_func.pyindex 77caf4e9e..2e1c612ab 100644--- a/camel/utils/async_func.py+++ b/camel/utils/async_func.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asynciofrom copy import deepcopydiff --git a/camel/utils/commons.py b/camel/utils/commons.pyindex 30c0b695a..0c0ba3db1 100644--- a/camel/utils/commons.py+++ b/camel/utils/commons.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import importlibimport osimport platformdiff --git a/camel/utils/constants.py b/camel/utils/constants.pyindex e7d1aa233..9adadea98 100644--- a/camel/utils/constants.py+++ b/camel/utils/constants.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========class Constants:diff --git a/camel/utils/token_counting.py b/camel/utils/token_counting.pyindex f1ea74649..7ddb77f15 100644--- a/camel/utils/token_counting.py+++ b/camel/utils/token_counting.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsdiff --git a/docs/conf.py b/docs/conf.pyindex 51842904b..b71839d24 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========# Configuration file for the Sphinx documentation builder.## For the full list of built-in configuration values, see the documentation:diff --git a/docs/key_modules/retrievers.md b/docs/key_modules/retrievers.mdindex d3ca3be3c..0ea8415f2 100644--- a/docs/key_modules/retrievers.md+++ b/docs/key_modules/retrievers.md@@ -77,7 +77,7 @@ results = vr.query(query, vector_storage)print(results)``````markdown->>> [{'similarity score': '0.812884257383057', 'content path': 'https://www.camel-ai.org/', 'metadata': {'filetype': 'text/html', 'languages': ['eng'], 'page_number': 1, 'url': 'https://www.camel-ai.org/', 'link_urls': ['/home', '/home', '/research/agent-trust', '/agent', '/data_explorer', '/chat', 'https://www.google.com/url?q=https%3A%2F%2Fcamel-ai.github.io%2Fcamel&sa=D&sntz=1&usg=AOvVaw1ifGIva9n-a-0KpTrIG8Cv', 'https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcamel-ai%2Fcamel&sa=D&sntz=1&usg=AOvVaw03Z2OD0-plx_zugZZgBb8w', '/team', '/sponsors', '/home', '/home', '/research/agent-trust', '/agent', '/data_explorer', '/chat', 'https://www.google.com/url?q=https%3A%2F%2Fcamel-ai.github.io%2Fcamel&sa=D&sntz=1&usg=AOvVaw1ifGIva9n-a-0KpTrIG8Cv', 'https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcamel-ai%2Fcamel&sa=D&sntz=1&usg=AOvVaw03Z2OD0-plx_zugZZgBb8w', '/team', '/sponsors', '/home', '/research/agent-trust', '/agent', '/data_explorer', '/chat', 'https://www.google.com/url?q=https%3A%2F%2Fcamel-ai.github.io%2Fcamel&sa=D&sntz=1&usg=AOvVaw1ifGIva9n-a-0KpTrIG8Cv', 'https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcamel-ai%2Fcamel&sa=D&sntz=1&usg=AOvVaw03Z2OD0-plx_zugZZgBb8w', '/team', '/sponsors', 'https://github.com/camel-ai/camel'], 'link_texts': [None, 'Home', 'AgentTrust', 'Agent App', 'Data Explorer App', 'ChatBot', 'Docs', 'Github Repo', 'Team', 'Sponsors', None, 'Home', 'AgentTrust', 'Agent App', 'Data Explorer App', 'ChatBot', 'Docs', 'Github Repo', 'Team', 'Sponsors', 'Home', 'AgentTrust', 'Agent App', 'Data Explorer App', 'ChatBot', 'Docs', 'Github Repo', 'Team', 'Sponsors', None], 'emphasized_text_contents': ['Skip to main content', 'Skip to navigation', 'CAMEL-AI', 'CAMEL-AI', 'CAMEL:\xa0 Communicative Agents for āMindā Exploration of Large Language Model Society', 'https://github.com/camel-ai/camel'], 'emphasized_text_tags': ['span', 'span', 'span', 'span', 'span', 'span']}, 'text': 'Search this site\n\nSkip to main content\n\nSkip to navigation\n\nCAMEL-AI\n\nHome\n\nResearchAgentTrust\n\nAgent App\n\nData Explorer App\n\nChatBot\n\nDocs\n\nGithub Repo\n\nTeam\n\nSponsors\n\nCAMEL-AI\n\nHome\n\nResearchAgentTrust\n\nAgent App\n\nData Explorer App\n\nChatBot\n\nDocs\n\nGithub Repo\n\nTeam\n\nSponsors\n\nMoreHomeResearchAgentTrustAgent AppData Explorer AppChatBotDocsGithub RepoTeamSponsors\n\nCAMEL:\xa0 Communicative Agents for āMindā Exploration of Large Language Model Society\n\nhttps://github.com/camel-ai/camel'}]+>>> [{'similarity score': '0.812884257383057', 'content path': 'https://www.camel-ai.org/', 'metadata': {'filetype': 'text/html', 'languages': ['eng'], 'page_number': 1, 'url': 'https://www.camel-ai.org/', 'link_urls': ['/home', '/home', '/research/agent-trust', '/agent', '/data_explorer', '/chat', 'https://www.google.com/url?q=https%3A%2F%2Fcamel-ai.github.io%2Fcamel&sa=D&sntz=1&usg=AOvVaw1ifGIva9n-a-0KpTrIG8Cv', 'https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcamel-ai%2Fcamel&sa=D&sntz=1&usg=AOvVaw03Z2OD0-plx_zugZZgBb8w', '/team', '/sponsors', '/home', '/home', '/research/agent-trust', '/agent', '/data_explorer', '/chat', 'https://www.google.com/url?q=https%3A%2F%2Fcamel-ai.github.io%2Fcamel&sa=D&sntz=1&usg=AOvVaw1ifGIva9n-a-0KpTrIG8Cv', 'https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcamel-ai%2Fcamel&sa=D&sntz=1&usg=AOvVaw03Z2OD0-plx_zugZZgBb8w', '/team', '/sponsors', '/home', '/research/agent-trust', '/agent', '/data_explorer', '/chat', 'https://www.google.com/url?q=https%3A%2F%2Fcamel-ai.github.io%2Fcamel&sa=D&sntz=1&usg=AOvVaw1ifGIva9n-a-0KpTrIG8Cv', 'https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcamel-ai%2Fcamel&sa=D&sntz=1&usg=AOvVaw03Z2OD0-plx_zugZZgBb8w', '/team', '/sponsors', 'https://github.com/camel-ai/camel'], 'link_texts': [None, 'Home', 'AgentTrust', 'Agent App', 'Data Explorer App', 'ChatBot', 'Docs', 'Github Repo', 'Team', 'Sponsors', None, 'Home', 'AgentTrust', 'Agent App', 'Data Explorer App', 'ChatBot', 'Docs', 'Github Repo', 'Team', 'Sponsors', 'Home', 'AgentTrust', 'Agent App', 'Data Explorer App', 'ChatBot', 'Docs', 'Github Repo', 'Team', 'Sponsors', None], 'emphasized_text_contents': ['Skip to main content', 'Skip to navigation', 'CAMEL-AI', 'CAMEL-AI', 'CAMEL:\xa0 Communicative Agents for "Mind" Exploration of Large Language Model Society', 'https://github.com/camel-ai/camel'], 'emphasized_text_tags': ['span', 'span', 'span', 'span', 'span', 'span']}, 'text': 'Search this site\n\nSkip to main content\n\nSkip to navigation\n\nCAMEL-AI\n\nHome\n\nResearchAgentTrust\n\nAgent App\n\nData Explorer App\n\nChatBot\n\nDocs\n\nGithub Repo\n\nTeam\n\nSponsors\n\nCAMEL-AI\n\nHome\n\nResearchAgentTrust\n\nAgent App\n\nData Explorer App\n\nChatBot\n\nDocs\n\nGithub Repo\n\nTeam\n\nSponsors\n\nMoreHomeResearchAgentTrustAgent AppData Explorer AppChatBotDocsGithub RepoTeamSponsors\n\nCAMEL:\xa0 Communicative Agents for "Mind" Exploration of Large Language Model Society\n\nhttps://github.com/camel-ai/camel'}]```### 3.2. Using Auto Retrieverdiff --git a/docs/key_modules/tools.md b/docs/key_modules/tools.mdindex c0b0d22f2..55c78b3c4 100644--- a/docs/key_modules/tools.md+++ b/docs/key_modules/tools.md@@ -147,7 +147,7 @@ Here is a list of the available CAMEL tools and their descriptions:| Toolkit | Description || ----- | ----- |-| CodeExecutionToolkit | A toolkit for code execution which can run code by "internal_python", "jupyter" or "dockerā. |+| CodeExecutionToolkit | A toolkit for code execution which can run code by "internal_python", "jupyter" or "docker". || GithubToolkit | A gitHub toolkit for interacting with GitHub repositories: retrieving open issues, retrieving specific issues, and creating pull requests. || GoogleMapsToolkit | A GoogleMaps toolkit for validating addresses, retrieving elevation, and fetching timezone information using the Google Maps API. || MathToolkit | A simple math toolkit for basic mathematical operations such as addition, subtraction, and multiplication. |diff --git a/examples/ai_society/babyagi_playing.py b/examples/ai_society/babyagi_playing.pyindex 0b3361bac..ed8400e78 100644--- a/examples/ai_society/babyagi_playing.py+++ b/examples/ai_society/babyagi_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forediff --git a/examples/ai_society/generate_meta_data.py b/examples/ai_society/generate_meta_data.pyindex c8ce513cc..121852f9e 100644--- a/examples/ai_society/generate_meta_data.py+++ b/examples/ai_society/generate_meta_data.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.messages import BaseMessagefrom camel.prompts import PromptTemplateGeneratordiff --git a/examples/ai_society/role_playing.py b/examples/ai_society/role_playing.pyindex 0ccffab00..65b6c260f 100644--- a/examples/ai_society/role_playing.py+++ b/examples/ai_society/role_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.societies import RolePlayingdiff --git a/examples/ai_society/role_playing_multi_lingual.py b/examples/ai_society/role_playing_multi_lingual.pyindex 0140e7f79..b9b856ee6 100644--- a/examples/ai_society/role_playing_multi_lingual.py+++ b/examples/ai_society/role_playing_multi_lingual.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.societies import RolePlayingdiff --git a/examples/ai_society/role_playing_multiprocess.py b/examples/ai_society/role_playing_multiprocess.pyindex dfa45bd16..c25c4d546 100644--- a/examples/ai_society/role_playing_multiprocess.py+++ b/examples/ai_society/role_playing_multiprocess.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport multiprocessingimport osdiff --git a/examples/ai_society/role_playing_with_critic.py b/examples/ai_society/role_playing_with_critic.pyindex 71d756408..f801c200c 100644--- a/examples/ai_society/role_playing_with_critic.py+++ b/examples/ai_society/role_playing_with_critic.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.configs import ChatGPTConfigdiff --git a/examples/ai_society/role_playing_with_human.py b/examples/ai_society/role_playing_with_human.pyindex 62b0a70a5..6b2dfe2f9 100644--- a/examples/ai_society/role_playing_with_human.py+++ b/examples/ai_society/role_playing_with_human.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.configs import ChatGPTConfigdiff --git a/examples/ai_society/task_generation.py b/examples/ai_society/task_generation.pyindex f19271a85..93a53367c 100644--- a/examples/ai_society/task_generation.py+++ b/examples/ai_society/task_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import multiprocessingimport osdiff --git a/examples/bots/discord_bot.py b/examples/bots/discord_bot.pyindex 24342bea1..70c33d643 100644--- a/examples/bots/discord_bot.py+++ b/examples/bots/discord_bot.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asynciofrom typing import TYPE_CHECKING, List, Optional, Uniondiff --git a/examples/bots/discord_bot_use_msg_queue.py b/examples/bots/discord_bot_use_msg_queue.pyindex 0a8a19a34..f3562c5c2 100644--- a/examples/bots/discord_bot_use_msg_queue.py+++ b/examples/bots/discord_bot_use_msg_queue.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asynciofrom typing import TYPE_CHECKING, List, Optional, Uniondiff --git a/examples/bots/slack_bot.py b/examples/bots/slack_bot.pyindex ab80f0b17..547071239 100644--- a/examples/bots/slack_bot.py+++ b/examples/bots/slack_bot.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingfrom typing import TYPE_CHECKING, List, Optional, Uniondiff --git a/examples/bots/slack_bot_use_msg_queue.py b/examples/bots/slack_bot_use_msg_queue.pyindex 58117a416..d974423b5 100644--- a/examples/bots/slack_bot_use_msg_queue.py+++ b/examples/bots/slack_bot_use_msg_queue.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asyncioimport loggingimport queuediff --git a/examples/code/generate_meta_data.py b/examples/code/generate_meta_data.pyindex 1fd0cba0c..cffad0be9 100644--- a/examples/code/generate_meta_data.py+++ b/examples/code/generate_meta_data.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.messages import BaseMessagefrom camel.prompts import PromptTemplateGeneratordiff --git a/examples/code/role_playing.py b/examples/code/role_playing.pyindex f7d98beb4..fb8d4c935 100644--- a/examples/code/role_playing.py+++ b/examples/code/role_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.societies import RolePlayingdiff --git a/examples/code/role_playing_multiprocess.py b/examples/code/role_playing_multiprocess.pyindex 7427dbe26..d6eda3ce0 100644--- a/examples/code/role_playing_multiprocess.py+++ b/examples/code/role_playing_multiprocess.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport multiprocessingimport osdiff --git a/examples/code/task_generation.py b/examples/code/task_generation.pyindex 532e984b8..5b8ac4616 100644--- a/examples/code/task_generation.py+++ b/examples/code/task_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import multiprocessingimport osdiff --git a/examples/conversion.py b/examples/conversion.pyindex dc1cf3f35..5922cf270 100644--- a/examples/conversion.py+++ b/examples/conversion.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listfrom camel.messages import BaseMessage, HermesFunctionFormatterdiff --git a/examples/deductive_reasoner_agent/deduce_conditions_and_quality.py b/examples/deductive_reasoner_agent/deduce_conditions_and_quality.pyindex e9ccf2372..6e2bc5a49 100644--- a/examples/deductive_reasoner_agent/deduce_conditions_and_quality.py+++ b/examples/deductive_reasoner_agent/deduce_conditions_and_quality.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonfrom colorama import Forediff --git a/examples/embeddings/vlm_embedding_example.py b/examples/embeddings/vlm_embedding_example.pyindex 5df25191a..1ea384f41 100644--- a/examples/embeddings/vlm_embedding_example.py+++ b/examples/embeddings/vlm_embedding_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import requestsfrom PIL import Imagediff --git a/examples/embodiment/code_execution.py b/examples/embodiment/code_execution.pyindex 8df5eb62c..e5436a9a3 100644--- a/examples/embodiment/code_execution.py+++ b/examples/embodiment/code_execution.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import EmbodiedAgentfrom camel.generators import SystemMessageGeneratorfrom camel.messages import BaseMessagediff --git a/examples/embodiment/hugging_face_tool.py b/examples/embodiment/hugging_face_tool.pyindex 8289d5f60..955bc3738 100644--- a/examples/embodiment/hugging_face_tool.py+++ b/examples/embodiment/hugging_face_tool.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listfrom camel.agents import EmbodiedAgent, HuggingFaceToolAgentdiff --git a/examples/evaluation/single_agent.py b/examples/evaluation/single_agent.pyindex 1c83ecbbb..9712723c4 100644--- a/examples/evaluation/single_agent.py+++ b/examples/evaluation/single_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport osimport rediff --git a/examples/external_tools/use_external_tools.py b/examples/external_tools/use_external_tools.pyindex 760699f2d..72ea6a0f9 100644--- a/examples/external_tools/use_external_tools.py+++ b/examples/external_tools/use_external_tools.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import ChatGPTConfigdiff --git a/examples/generate_text_embedding_data/single_agent.py b/examples/generate_text_embedding_data/single_agent.pyindex 1d08f32d0..e575ad5c7 100644--- a/examples/generate_text_embedding_data/single_agent.py+++ b/examples/generate_text_embedding_data/single_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport osimport randomdiff --git a/examples/generate_text_embedding_data/task_generation.py b/examples/generate_text_embedding_data/task_generation.pyindex 18897f8ab..e420132b2 100644--- a/examples/generate_text_embedding_data/task_generation.py+++ b/examples/generate_text_embedding_data/task_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom camel.agents import ChatAgentdiff --git a/examples/interpreters/ipython_interpreter_example.py b/examples/interpreters/ipython_interpreter_example.pyindex 7c62d9a10..04c4701ce 100644--- a/examples/interpreters/ipython_interpreter_example.py+++ b/examples/interpreters/ipython_interpreter_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.interpreters import JupyterKernelInterpreterinterpreter = JupyterKernelInterpreter(diff --git a/examples/knowledge_graph/knowledge_graph_agent_example.py b/examples/knowledge_graph/knowledge_graph_agent_example.pyindex 1497c27fb..f28952cb6 100644--- a/examples/knowledge_graph/knowledge_graph_agent_example.py+++ b/examples/knowledge_graph/knowledge_graph_agent_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import KnowledgeGraphAgentfrom camel.loaders import UnstructuredIOdiff --git a/examples/knowledge_graph/neo4j_example.py b/examples/knowledge_graph/neo4j_example.pyindex caad6a096..0592dff6e 100644--- a/examples/knowledge_graph/neo4j_example.py+++ b/examples/knowledge_graph/neo4j_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.storages import Neo4jGraph# Set Neo4j instancediff --git a/examples/loaders/apify_example.py b/examples/loaders/apify_example.pyindex 834c495ee..26010fff3 100644--- a/examples/loaders/apify_example.py+++ b/examples/loaders/apify_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.loaders import Apifydiff --git a/examples/loaders/chunkr_example.py b/examples/loaders/chunkr_example.pyindex e28a9e2d4..dcf826491 100644--- a/examples/loaders/chunkr_example.py+++ b/examples/loaders/chunkr_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.loaders import ChunkrReaderdiff --git a/examples/loaders/firecrawl_example.py b/examples/loaders/firecrawl_example.pyindex 8c7eec86b..9e2da6a81 100644--- a/examples/loaders/firecrawl_example.py+++ b/examples/loaders/firecrawl_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/examples/loaders/jina_url_reader_example.py b/examples/loaders/jina_url_reader_example.pyindex 78f523e2d..f43ede092 100644--- a/examples/loaders/jina_url_reader_example.py+++ b/examples/loaders/jina_url_reader_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.loaders import JinaURLReaderdiff --git a/examples/loaders/unstructured_io_example.py b/examples/loaders/unstructured_io_example.pyindex c8b9ace1a..dba01d6e1 100644--- a/examples/loaders/unstructured_io_example.py+++ b/examples/loaders/unstructured_io_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osdiff --git a/examples/misalignment/role_playing_multiprocess.py b/examples/misalignment/role_playing_multiprocess.pyindex 2ccc15b6f..d33428bd5 100644--- a/examples/misalignment/role_playing_multiprocess.py+++ b/examples/misalignment/role_playing_multiprocess.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import jsonimport multiprocessingimport osdiff --git a/examples/misalignment/role_playing_with_human.py b/examples/misalignment/role_playing_with_human.pyindex db6c53312..f7098dbe9 100644--- a/examples/misalignment/role_playing_with_human.py+++ b/examples/misalignment/role_playing_with_human.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.configs import ChatGPTConfigdiff --git a/examples/misalignment/single_agent.py b/examples/misalignment/single_agent.pyindex de4b2d5d9..2a1628e20 100644--- a/examples/misalignment/single_agent.py+++ b/examples/misalignment/single_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.messages import BaseMessagefrom camel.prompts import PromptTemplateGeneratordiff --git a/examples/misalignment/task_generation.py b/examples/misalignment/task_generation.pyindex 6b858ab9c..1dba034a1 100644--- a/examples/misalignment/task_generation.py+++ b/examples/misalignment/task_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import multiprocessingimport osdiff --git a/examples/models/azure_openai_model_example.py b/examples/models/azure_openai_model_example.pyindex df6871278..532a7379a 100644--- a/examples/models/azure_openai_model_example.py+++ b/examples/models/azure_openai_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import ChatGPTConfigfrom camel.models import ModelFactorydiff --git a/examples/models/cohere_model_example.py b/examples/models/cohere_model_example.pyindex 806b3bcf9..f14a30cfa 100644--- a/examples/models/cohere_model_example.py+++ b/examples/models/cohere_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import CohereConfigfrom camel.models import ModelFactorydiff --git a/examples/models/gemini_model_example.py b/examples/models/gemini_model_example.pyindex c95a890a5..46651eb8b 100644--- a/examples/models/gemini_model_example.py+++ b/examples/models/gemini_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import GeminiConfigfrom camel.models import ModelFactorydiff --git a/examples/models/litellm_model_example.py b/examples/models/litellm_model_example.pyindex c3179d94f..8e9d3cffc 100644--- a/examples/models/litellm_model_example.py+++ b/examples/models/litellm_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import LiteLLMConfigfrom camel.models import ModelFactorydiff --git a/examples/models/mistral_model_example.py b/examples/models/mistral_model_example.pyindex e947c8859..e30097a22 100644--- a/examples/models/mistral_model_example.py+++ b/examples/models/mistral_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from io import BytesIOimport requestsdiff --git a/examples/models/nemotron_model_example.py b/examples/models/nemotron_model_example.pyindex 1195b03d1..de50f0429 100644--- a/examples/models/nemotron_model_example.py+++ b/examples/models/nemotron_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.models import NemotronModelfrom camel.types import ModelTypediff --git a/examples/models/ollama_model_example.py b/examples/models/ollama_model_example.pyindex 797c2f613..0633df539 100644--- a/examples/models/ollama_model_example.py+++ b/examples/models/ollama_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.models import ModelFactorydiff --git a/examples/models/openai_audio_models_example.py b/examples/models/openai_audio_models_example.pyindex f4b8d9e59..377844a54 100644--- a/examples/models/openai_audio_models_example.py+++ b/examples/models/openai_audio_models_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.models import OpenAIAudioModelsdiff --git a/examples/models/openai_compatibility_model_examples/grok.py b/examples/models/openai_compatibility_model_examples/grok.pyindex 6a410ee9d..596c4ff30 100644--- a/examples/models/openai_compatibility_model_examples/grok.py+++ b/examples/models/openai_compatibility_model_examples/grok.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.models import ModelFactorydiff --git a/examples/models/openai_compatibility_model_examples/nemotron.py b/examples/models/openai_compatibility_model_examples/nemotron.pyindex dfb3c4abe..6742f37c7 100644--- a/examples/models/openai_compatibility_model_examples/nemotron.py+++ b/examples/models/openai_compatibility_model_examples/nemotron.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.models import ModelFactorydiff --git a/examples/models/openai_compatibility_model_examples/qwen.py b/examples/models/openai_compatibility_model_examples/qwen.pyindex e10de4739..876a81110 100644--- a/examples/models/openai_compatibility_model_examples/qwen.py+++ b/examples/models/openai_compatibility_model_examples/qwen.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.models import ModelFactorydiff --git a/examples/models/openai_o1_example.py b/examples/models/openai_o1_example.pyindex 4d644124b..0495a0dd7 100644--- a/examples/models/openai_o1_example.py+++ b/examples/models/openai_o1_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import ChatGPTConfigdiff --git a/examples/models/openai_structured_output_example.py b/examples/models/openai_structured_output_example.pyindex 0dcf96b9a..1fc549f23 100644--- a/examples/models/openai_structured_output_example.py+++ b/examples/models/openai_structured_output_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pydantic import BaseModelfrom camel.agents import ChatAgentdiff --git a/examples/models/qwen_model_example.py b/examples/models/qwen_model_example.pyindex 3ce18f698..e7d4e76dc 100644--- a/examples/models/qwen_model_example.py+++ b/examples/models/qwen_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import QwenConfigdiff --git a/examples/models/reka_model_example.py b/examples/models/reka_model_example.pyindex 75dca9f2e..5c2ae8e19 100644--- a/examples/models/reka_model_example.py+++ b/examples/models/reka_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import RekaConfigfrom camel.models import ModelFactorydiff --git a/examples/models/role_playing_with_claude.py b/examples/models/role_playing_with_claude.pyindex 57ac3a3a6..b367d0f90 100644--- a/examples/models/role_playing_with_claude.py+++ b/examples/models/role_playing_with_claude.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.models import ModelFactorydiff --git a/examples/models/role_playing_with_cohere.py b/examples/models/role_playing_with_cohere.pyindex 76a65729d..72d3d6af0 100644--- a/examples/models/role_playing_with_cohere.py+++ b/examples/models/role_playing_with_cohere.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listfrom colorama import Forediff --git a/examples/models/role_playing_with_gemini.py b/examples/models/role_playing_with_gemini.pyindex b59c6bb4e..3eaac815e 100644--- a/examples/models/role_playing_with_gemini.py+++ b/examples/models/role_playing_with_gemini.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forediff --git a/examples/models/role_playing_with_groq.py b/examples/models/role_playing_with_groq.pyindex 6dcd947f8..c02675c36 100644--- a/examples/models/role_playing_with_groq.py+++ b/examples/models/role_playing_with_groq.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.models import ModelFactorydiff --git a/examples/models/role_playing_with_mistral.py b/examples/models/role_playing_with_mistral.pyindex ef752b29b..e92ade930 100644--- a/examples/models/role_playing_with_mistral.py+++ b/examples/models/role_playing_with_mistral.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/examples/models/role_playing_with_ollama.py b/examples/models/role_playing_with_ollama.pyindex 5ac273184..77eaeec33 100644--- a/examples/models/role_playing_with_ollama.py+++ b/examples/models/role_playing_with_ollama.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/examples/models/role_playing_with_sambanova.py b/examples/models/role_playing_with_sambanova.pyindex 3451afc92..2cbba7342 100644--- a/examples/models/role_playing_with_sambanova.py+++ b/examples/models/role_playing_with_sambanova.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/examples/models/samba_model_example.py b/examples/models/samba_model_example.pyindex 57eed29d1..cf6c81f09 100644--- a/examples/models/samba_model_example.py+++ b/examples/models/samba_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import (SambaCloudAPIConfig,diff --git a/examples/models/togetherai_model_example.py b/examples/models/togetherai_model_example.pyindex 5cdaf301b..194878162 100644--- a/examples/models/togetherai_model_example.py+++ b/examples/models/togetherai_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import TogetherAIConfigfrom camel.models import ModelFactorydiff --git a/examples/models/vllm_model_example.py b/examples/models/vllm_model_example.pyindex ab2b9cb07..92c9d140b 100644--- a/examples/models/vllm_model_example.py+++ b/examples/models/vllm_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.models import ModelFactorydiff --git a/examples/models/yi_model_example.py b/examples/models/yi_model_example.pyindex 7bf4ba378..b0b6c85c7 100644--- a/examples/models/yi_model_example.py+++ b/examples/models/yi_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import YiConfigdiff --git a/examples/models/zhipuai_model_example.py b/examples/models/zhipuai_model_example.pyindex 78817cfac..6d6c5e7d3 100644--- a/examples/models/zhipuai_model_example.py+++ b/examples/models/zhipuai_model_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import ZhipuAIConfigdiff --git a/examples/observability/agentops_track_roleplaying_with_function.py b/examples/observability/agentops_track_roleplaying_with_function.pyindex 8071694f3..800ddfcf3 100644--- a/examples/observability/agentops_track_roleplaying_with_function.py+++ b/examples/observability/agentops_track_roleplaying_with_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/examples/personas/personas_generation.py b/examples/personas/personas_generation.pyindex 1eef044e6..3680c4acb 100644--- a/examples/personas/personas_generation.py+++ b/examples/personas/personas_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.personas.persona_hub import PersonaHubdiff --git a/examples/role_description/role_generation.py b/examples/role_description/role_generation.pyindex 725930c48..53dd984fc 100644--- a/examples/role_description/role_generation.py+++ b/examples/role_description/role_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.agents import RoleAssignmentAgentdiff --git a/examples/role_description/role_playing_with_role_description.py b/examples/role_description/role_playing_with_role_description.pyindex e3eb9e749..821e3bfaa 100644--- a/examples/role_description/role_playing_with_role_description.py+++ b/examples/role_description/role_playing_with_role_description.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.agents import RoleAssignmentAgentdiff --git a/examples/runtime/code_execution_with_docker_runtime.py b/examples/runtime/code_execution_with_docker_runtime.pyindex 3a437b1a1..abc5f1032 100644--- a/examples/runtime/code_execution_with_docker_runtime.py+++ b/examples/runtime/code_execution_with_docker_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forediff --git a/examples/runtime/code_execution_with_llm_guard_runtime.py b/examples/runtime/code_execution_with_llm_guard_runtime.pyindex fd097852d..c46215b96 100644--- a/examples/runtime/code_execution_with_llm_guard_runtime.py+++ b/examples/runtime/code_execution_with_llm_guard_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forediff --git a/examples/runtime/docker_runtime.py b/examples/runtime/docker_runtime.pyindex 1c96e7184..07d221383 100644--- a/examples/runtime/docker_runtime.py+++ b/examples/runtime/docker_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.runtime import DockerRuntimefrom camel.toolkits import CodeExecutionToolkit, MathToolkitdiff --git a/examples/runtime/docker_runtime_with_tasks.py b/examples/runtime/docker_runtime_with_tasks.pyindex 77b2f7852..6d60031ff 100644--- a/examples/runtime/docker_runtime_with_tasks.py+++ b/examples/runtime/docker_runtime_with_tasks.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forediff --git a/examples/runtime/remote_http_runtime.py b/examples/runtime/remote_http_runtime.pyindex a56718ca3..e2a052c60 100644--- a/examples/runtime/remote_http_runtime.py+++ b/examples/runtime/remote_http_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.runtime import RemoteHttpRuntimefrom camel.toolkits import MathToolkitdiff --git a/examples/single_agent.py b/examples/single_agent.pyindex 5fbeb3236..619dfd675 100644--- a/examples/single_agent.py+++ b/examples/single_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.messages import BaseMessagefrom camel.prompts import PromptTemplateGeneratordiff --git a/examples/storages/nebular_graph.py b/examples/storages/nebular_graph.pyindex 1c00f105d..1c8503626 100644--- a/examples/storages/nebular_graph.py+++ b/examples/storages/nebular_graph.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unstructured.documents.elements import Elementdiff --git a/examples/storages/redis_storage.py b/examples/storages/redis_storage.pyindex 706131443..713440bdd 100644--- a/examples/storages/redis_storage.py+++ b/examples/storages/redis_storage.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import loggingfrom typing import Any, Dict, Listdiff --git a/examples/storages/s3_storage.py b/examples/storages/s3_storage.pyindex 58e8b229c..76aa9e38c 100644--- a/examples/storages/s3_storage.py+++ b/examples/storages/s3_storage.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pathlib import Pathdiff --git a/examples/structured_response/json_format_reponse_with_tools.py b/examples/structured_response/json_format_reponse_with_tools.pyindex 8af7178e1..405c7b649 100644--- a/examples/structured_response/json_format_reponse_with_tools.py+++ b/examples/structured_response/json_format_reponse_with_tools.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pydantic import BaseModel, Fielddiff --git a/examples/structured_response/json_format_response.py b/examples/structured_response/json_format_response.pyindex 9d0b1c76b..a3dec1c0e 100644--- a/examples/structured_response/json_format_response.py+++ b/examples/structured_response/json_format_response.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pydantic import BaseModel, Fielddiff --git a/examples/summarization/gpt_solution_extraction.py b/examples/summarization/gpt_solution_extraction.pyindex a80e9d5ea..f1c6a9eb2 100644--- a/examples/summarization/gpt_solution_extraction.py+++ b/examples/summarization/gpt_solution_extraction.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import argparseimport concurrent.futuresimport itertoolsdiff --git a/examples/summarization/gpt_solver.py b/examples/summarization/gpt_solver.pyindex 648856dc9..3accd21a4 100644--- a/examples/summarization/gpt_solver.py+++ b/examples/summarization/gpt_solver.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import concurrent.futuresimport jsonimport osdiff --git a/examples/tasks/task_generation.py b/examples/tasks/task_generation.pyindex 2df2f6b8d..f7f480b50 100644--- a/examples/tasks/task_generation.py+++ b/examples/tasks/task_generation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import ChatGPTConfigdiff --git a/examples/test/bots/test_discord_app.py b/examples/test/bots/test_discord_app.pyindex 223db6a62..64a5f8a74 100644--- a/examples/test/bots/test_discord_app.py+++ b/examples/test/bots/test_discord_app.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport unittestfrom unittest.mock import AsyncMock, MagicMock, patchdiff --git a/examples/test/bots/test_slack_app.py b/examples/test/bots/test_slack_app.pyindex 41ae0a63b..66f6767b4 100644--- a/examples/test/bots/test_slack_app.py+++ b/examples/test/bots/test_slack_app.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport unittestfrom unittest.mock import AsyncMock, MagicMock, patchdiff --git a/examples/test/bots/test_telegram_bot.py b/examples/test/bots/test_telegram_bot.pyindex 50b2552ea..465ad8379 100644--- a/examples/test/bots/test_telegram_bot.py+++ b/examples/test/bots/test_telegram_bot.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import unittestfrom unittest.mock import MagicMock, patchdiff --git a/examples/test/test_ai_society_example.py b/examples/test/test_ai_society_example.pyindex 8568e5d17..b49ab7472 100644--- a/examples/test/test_ai_society_example.py+++ b/examples/test/test_ai_society_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from mock import patchimport examples.ai_society.role_playingdiff --git a/examples/test/test_babyagi_example.py b/examples/test/test_babyagi_example.pyindex 989d10649..7c1703fd1 100644--- a/examples/test/test_babyagi_example.py+++ b/examples/test/test_babyagi_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom mock import patchdiff --git a/examples/test/test_code_example.py b/examples/test/test_code_example.pyindex d81390e8d..dafbcb05f 100644--- a/examples/test/test_code_example.py+++ b/examples/test/test_code_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from mock import patchimport examples.code.role_playingdiff --git a/examples/test/test_role_description_example.py b/examples/test/test_role_description_example.pyindex f088955fa..cda0ec474 100644--- a/examples/test/test_role_description_example.py+++ b/examples/test/test_role_description_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from mock import patchimport examples.role_description.role_generationdiff --git a/examples/test/test_single_agent.py b/examples/test/test_single_agent.pyindex dbeb7ccc9..b55d9efef 100644--- a/examples/test/test_single_agent.py+++ b/examples/test/test_single_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestimport examples.code.generate_meta_datadiff --git a/examples/test/test_unstructured_io_example.py b/examples/test/test_unstructured_io_example.pyindex ed5e32f53..71689b484 100644--- a/examples/test/test_unstructured_io_example.py+++ b/examples/test/test_unstructured_io_example.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osdiff --git a/examples/toolkits/arxiv_toolkit.py b/examples/toolkits/arxiv_toolkit.pyindex 66d3d5aba..ddf3a89dd 100644--- a/examples/toolkits/arxiv_toolkit.py+++ b/examples/toolkits/arxiv_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs.openai_config import ChatGPTConfigdiff --git a/examples/toolkits/ask_news_toolkit.py b/examples/toolkits/ask_news_toolkit.pyindex 54974b48a..b86877812 100644--- a/examples/toolkits/ask_news_toolkit.py+++ b/examples/toolkits/ask_news_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.toolkits import AskNewsToolkitdiff --git a/examples/toolkits/code_execution_toolkit.py b/examples/toolkits/code_execution_toolkit.pyindex 1f93e2cef..0be5a2a8e 100644--- a/examples/toolkits/code_execution_toolkit.py+++ b/examples/toolkits/code_execution_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forediff --git a/examples/toolkits/data_commons_toolkit.py b/examples/toolkits/data_commons_toolkit.pyindex 2935fea61..9828beea3 100644--- a/examples/toolkits/data_commons_toolkit.py+++ b/examples/toolkits/data_commons_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.toolkits.data_commons_toolkit import DataCommonsToolkit# Initialize the DataCommonsToolkitdiff --git a/examples/toolkits/generate_openai_tool_schema.py b/examples/toolkits/generate_openai_tool_schema.pyindex 14a2edec2..8603c0149 100644--- a/examples/toolkits/generate_openai_tool_schema.py+++ b/examples/toolkits/generate_openai_tool_schema.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentdiff --git a/examples/toolkits/github_toolkit.py b/examples/toolkits/github_toolkit.pyindex 4ab9b2c66..a1e5a1d20 100644--- a/examples/toolkits/github_toolkit.py+++ b/examples/toolkits/github_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.toolkits import GithubToolkit@@ -50,19 +50,19 @@ content = gt.retrieve_file_content("camel/agents/chat_agent.py")print(content[:1000])"""===============================================================================-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotationsimport jsondiff --git a/examples/toolkits/google_scholar_toolkit.py b/examples/toolkits/google_scholar_toolkit.pyindex facf628fc..b00a50353 100644--- a/examples/toolkits/google_scholar_toolkit.py+++ b/examples/toolkits/google_scholar_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs.openai_config import ChatGPTConfig@@ -142,7 +142,7 @@ However, their success heavily relies on human input to guide theconversation, which can be challenging and time-consuming. This paper exploresthe potential of building scalable techniques to facilitate autonomouscooperation among communicative agents, and provides insight into their-ācognitiveā processes. To address the challenges of achieving autonomous+"cognitive" processes. To address the challenges of achieving autonomouscooperation, we propose a novel communicative agent framework namedrole-playing. Our approach involves using inception prompting to guide chatagents toward task completion while maintaining consistency with humandiff --git a/examples/toolkits/human_toolkit.py b/examples/toolkits/human_toolkit.pyindex 1baa885bc..7565f6453 100644--- a/examples/toolkits/human_toolkit.py+++ b/examples/toolkits/human_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentdiff --git a/examples/toolkits/notion_toolkit.py b/examples/toolkits/notion_toolkit.pyindex 94426a488..37d489516 100644--- a/examples/toolkits/notion_toolkit.py+++ b/examples/toolkits/notion_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs.openai_config import ChatGPTConfigdiff --git a/examples/toolkits/openapi_toolkit.py b/examples/toolkits/openapi_toolkit.pyindex ada25637f..81d32b25a 100644--- a/examples/toolkits/openapi_toolkit.py+++ b/examples/toolkits/openapi_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs.openai_config import ChatGPTConfigfrom camel.messages import BaseMessagediff --git a/examples/toolkits/post_weather_on_twitter.py b/examples/toolkits/post_weather_on_twitter.pyindex 2a60b7006..de54ba05c 100644--- a/examples/toolkits/post_weather_on_twitter.py+++ b/examples/toolkits/post_weather_on_twitter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from colorama import Forefrom camel.agents import ChatAgentdiff --git a/examples/toolkits/reddit_toolkit.py b/examples/toolkits/reddit_toolkit.pyindex 9ce324768..c95aa0866 100644--- a/examples/toolkits/reddit_toolkit.py+++ b/examples/toolkits/reddit_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.toolkits import RedditToolkit@@ -174,8 +174,8 @@ Sentiment Score: 0.4Subreddit: datasciencePost Title: data siensComment Body: I was once reading this article that went as:- āThe AI already predicted how many goals Cavani- will score at Manchester Unitedā.+ "The AI already predicted how many goals Cavani+ will score at Manchester United".It was a linear regression.Upvotes: 345Sentiment Score: 0.5diff --git a/examples/toolkits/role_playing_with_functions.py b/examples/toolkits/role_playing_with_functions.pyindex f0016fb65..b51652332 100644--- a/examples/toolkits/role_playing_with_functions.py+++ b/examples/toolkits/role_playing_with_functions.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listdiff --git a/examples/toolkits/search_toolkit.py b/examples/toolkits/search_toolkit.pyindex 58bd4fe43..3534a9a76 100644--- a/examples/toolkits/search_toolkit.py+++ b/examples/toolkits/search_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.toolkits import SearchToolkitdiff --git a/examples/toolkits/synthesize_function_execution.py b/examples/toolkits/synthesize_function_execution.pyindex 4f6ebd4b9..ee8a151a4 100644--- a/examples/toolkits/synthesize_function_execution.py+++ b/examples/toolkits/synthesize_function_execution.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dictdiff --git a/examples/translation/translator.py b/examples/translation/translator.pyindex f8942eb9b..47667a746 100644--- a/examples/translation/translator.py+++ b/examples/translation/translator.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import argparseimport codecsimport jsondiff --git a/examples/vision/duckduckgo_video_object_recognition.py b/examples/vision/duckduckgo_video_object_recognition.pyindex 8c753cc0e..393142df8 100644--- a/examples/vision/duckduckgo_video_object_recognition.py+++ b/examples/vision/duckduckgo_video_object_recognition.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listfrom PIL import Imagediff --git a/examples/vision/image_crafting.py b/examples/vision/image_crafting.pyindex 4534878b6..de9d82ab4 100644--- a/examples/vision/image_crafting.py+++ b/examples/vision/image_crafting.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents.chat_agent import ChatAgentfrom camel.messages.base import BaseMessagefrom camel.models import ModelFactorydiff --git a/examples/vision/multi_condition_image_crafting.py b/examples/vision/multi_condition_image_crafting.pyindex c0f33b0d7..7e9e10016 100644--- a/examples/vision/multi_condition_image_crafting.py+++ b/examples/vision/multi_condition_image_crafting.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from PIL import Imagefrom camel.agents.chat_agent import ChatAgentdiff --git a/examples/vision/multi_turn_image_refining.py b/examples/vision/multi_turn_image_refining.pyindex eec8dc5c6..ac0bf6562 100644--- a/examples/vision/multi_turn_image_refining.py+++ b/examples/vision/multi_turn_image_refining.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import refrom copy import deepcopydiff --git a/examples/vision/object_recognition.py b/examples/vision/object_recognition.pyindex 910bb05bd..e02b35a85 100644--- a/examples/vision/object_recognition.py+++ b/examples/vision/object_recognition.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import argparsefrom PIL import Imagediff --git a/examples/vision/video_description.py b/examples/vision/video_description.pyindex d39e7bd8f..fa6296ee8 100644--- a/examples/vision/video_description.py+++ b/examples/vision/video_description.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.messages import BaseMessagediff --git a/examples/vision/web_video_description_extractor.py b/examples/vision/web_video_description_extractor.pyindex 86d3d2395..069f75923 100644--- a/examples/vision/web_video_description_extractor.py+++ b/examples/vision/web_video_description_extractor.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.messages import BaseMessagefrom camel.prompts import PromptTemplateGeneratordiff --git a/examples/vision/web_video_object_recognition.py b/examples/vision/web_video_object_recognition.pyindex 34c4c3c67..54f1c6462 100644--- a/examples/vision/web_video_object_recognition.py+++ b/examples/vision/web_video_object_recognition.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import argparsefrom camel.agents import ChatAgentdiff --git a/examples/workforce/hackathon_judges.py b/examples/workforce/hackathon_judges.pyindex 33059a2a9..708b7c186 100644--- a/examples/workforce/hackathon_judges.py+++ b/examples/workforce/hackathon_judges.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import textwrapfrom camel.agents import ChatAgentdiff --git a/examples/workforce/multiple_single_agents.py b/examples/workforce/multiple_single_agents.pyindex 33052c4d3..16794743e 100644--- a/examples/workforce/multiple_single_agents.py+++ b/examples/workforce/multiple_single_agents.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents.chat_agent import ChatAgentfrom camel.messages.base import BaseMessagediff --git a/examples/workforce/role_playing_with_agents.py b/examples/workforce/role_playing_with_agents.pyindex cd9ba5b8d..df747876f 100644--- a/examples/workforce/role_playing_with_agents.py+++ b/examples/workforce/role_playing_with_agents.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents.chat_agent import ChatAgentfrom camel.messages.base import BaseMessagediff --git a/licenses/license_template.txt b/licenses/license_template.txtindex 65260e27d..0f91e59f5 100644--- a/licenses/license_template.txt+++ b/licenses/license_template.txt@@ -1,13 +1,13 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========\ No newline at end of file+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========diff --git a/licenses/update_license.py b/licenses/update_license.pyindex 0afbf3b9a..ac4beb60b 100644--- a/licenses/update_license.py+++ b/licenses/update_license.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport reimport sys@@ -122,8 +122,8 @@ if __name__ == '__main__':directory_path = sys.argv[1]license_template_path = sys.argv[2]- start_line_start_with = "# =========== Copyright"- end_line_start_with = "# =========== Copyright"+ start_line_start_with = "# ========= Copyright"+ end_line_start_with = "# ========= Copyright"update_license_in_directory(directory_path,license_template_path,diff --git a/test/agents/test_agent_base.py b/test/agents/test_agent_base.pyindex 7357bf93b..2aa939398 100644--- a/test/agents/test_agent_base.py+++ b/test/agents/test_agent_base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.agents import BaseAgentdiff --git a/test/agents/test_babyagi_playing.py b/test/agents/test_babyagi_playing.pyindex e42c926a3..64084dd59 100644--- a/test/agents/test_babyagi_playing.py+++ b/test/agents/test_babyagi_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.agents import ChatAgent, TaskCreationAgent, TaskPrioritizationAgentdiff --git a/test/agents/test_chat_agent.py b/test/agents/test_chat_agent.pyindex 290c5bc46..b7ac6d4ff 100644--- a/test/agents/test_chat_agent.py+++ b/test/agents/test_chat_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import astimport asynciofrom io import BytesIOdiff --git a/test/agents/test_critic_agent.py b/test/agents/test_critic_agent.pyindex 61f42a436..6ff9acf8e 100644--- a/test/agents/test_critic_agent.py+++ b/test/agents/test_critic_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.agents import CriticAgentdiff --git a/test/agents/test_deductive_reasoner_agent.py b/test/agents/test_deductive_reasoner_agent.pyindex 57f84e82a..5834452b9 100644--- a/test/agents/test_deductive_reasoner_agent.py+++ b/test/agents/test_deductive_reasoner_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from mock import patchfrom camel.agents import ChatAgentdiff --git a/test/agents/test_embodied_agent.py b/test/agents/test_embodied_agent.pyindex 2f3f04117..a2406660b 100644--- a/test/agents/test_embodied_agent.py+++ b/test/agents/test_embodied_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import binasciiimport pytestdiff --git a/test/agents/test_knowledge_agent.py b/test/agents/test_knowledge_agent.pyindex 80043c09e..14bc4d7ab 100644--- a/test/agents/test_knowledge_agent.py+++ b/test/agents/test_knowledge_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import KnowledgeGraphAgentfrom camel.storages.graph_storages.graph_element import Node, Relationshipdiff --git a/test/agents/test_role_assignment_agent.py b/test/agents/test_role_assignment_agent.pyindex ab23daebe..913fdcca2 100644--- a/test/agents/test_role_assignment_agent.py+++ b/test/agents/test_role_assignment_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom mock import patchdiff --git a/test/agents/test_role_playing.py b/test/agents/test_role_playing.pyindex 4084f9ca8..03ee6730b 100644--- a/test/agents/test_role_playing.py+++ b/test/agents/test_role_playing.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.agents import ChatAgent, CriticAgentdiff --git a/test/agents/test_task_agent.py b/test/agents/test_task_agent.pyindex 9bb9491b7..acb35bfbd 100644--- a/test/agents/test_task_agent.py+++ b/test/agents/test_task_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.agents import (diff --git a/test/agents/tool_agents/test_hugging_face_tool_agent.py b/test/agents/tool_agents/test_hugging_face_tool_agent.pyindex db9e8dede..230c8e6d2 100644--- a/test/agents/tool_agents/test_hugging_face_tool_agent.py+++ b/test/agents/tool_agents/test_hugging_face_tool_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import binasciiimport pytestdiff --git a/test/agents/tool_agents/test_tool_agent_base.py b/test/agents/tool_agents/test_tool_agent_base.pyindex c15b589ef..153f6edd5 100644--- a/test/agents/tool_agents/test_tool_agent_base.py+++ b/test/agents/tool_agents/test_tool_agent_base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import BaseToolAgentdiff --git a/test/conftest.py b/test/conftest.pyindex ce0b75364..94e545e50 100644--- a/test/conftest.py+++ b/test/conftest.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listimport pytestdiff --git a/test/embeddings/test_mistral_embedding.py b/test/embeddings/test_mistral_embedding.pyindex 846b05717..0c04dbd10 100644--- a/test/embeddings/test_mistral_embedding.py+++ b/test/embeddings/test_mistral_embedding.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom unittest.mock import MagicMock, patchdiff --git a/test/embeddings/test_open_source_embeddings.py b/test/embeddings/test_open_source_embeddings.pyindex 316892cd0..8fc4f6d9d 100644--- a/test/embeddings/test_open_source_embeddings.py+++ b/test/embeddings/test_open_source_embeddings.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom sentence_transformers import SentenceTransformerdiff --git a/test/embeddings/test_openai_embedding.py b/test/embeddings/test_openai_embedding.pyindex 33c7455c8..87d7bca9d 100644--- a/test/embeddings/test_openai_embedding.py+++ b/test/embeddings/test_openai_embedding.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.embeddings import OpenAIEmbeddingdiff --git a/test/embeddings/test_vlm_embeddings.py b/test/embeddings/test_vlm_embeddings.pyindex 5e7179fa0..5c3882385 100644--- a/test/embeddings/test_vlm_embeddings.py+++ b/test/embeddings/test_vlm_embeddings.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestimport requestsfrom PIL import Imagediff --git a/test/interpreters/test_docker_interpreter.py b/test/interpreters/test_docker_interpreter.pyindex c68b5038a..9c91b1f98 100644--- a/test/interpreters/test_docker_interpreter.py+++ b/test/interpreters/test_docker_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestdiff --git a/test/interpreters/test_jupyterkernel_interpreter.py b/test/interpreters/test_jupyterkernel_interpreter.pyindex cf1b08306..4fd500216 100644--- a/test/interpreters/test_jupyterkernel_interpreter.py+++ b/test/interpreters/test_jupyterkernel_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestdiff --git a/test/interpreters/test_python_interpreter.py b/test/interpreters/test_python_interpreter.pyindex 2ddd95e4f..4da241bd6 100644--- a/test/interpreters/test_python_interpreter.py+++ b/test/interpreters/test_python_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import numpy as npimport pytestimport torchdiff --git a/test/interpreters/test_subprocess_interpreter.py b/test/interpreters/test_subprocess_interpreter.pyindex e4f4f525a..bb45c490f 100644--- a/test/interpreters/test_subprocess_interpreter.py+++ b/test/interpreters/test_subprocess_interpreter.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pathlib import Pathimport pytestdiff --git a/test/loaders/test_apify.py b/test/loaders/test_apify.pyindex 280117adf..3ae9696f8 100644--- a/test/loaders/test_apify.py+++ b/test/loaders/test_apify.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom unittest.mock import Mock, patchdiff --git a/test/loaders/test_base_io.py b/test/loaders/test_base_io.pyindex 769967c34..ee84d881f 100644--- a/test/loaders/test_base_io.py+++ b/test/loaders/test_base_io.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from io import BytesIOfrom pathlib import Pathdiff --git a/test/loaders/test_chunkr_reader.py b/test/loaders/test_chunkr_reader.pyindex 28ff767e9..44d455147 100644--- a/test/loaders/test_chunkr_reader.py+++ b/test/loaders/test_chunkr_reader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import unittestfrom unittest.mock import mock_open, patchdiff --git a/test/loaders/test_firecrawl.py b/test/loaders/test_firecrawl.pyindex af8ac69d8..503eb8eb9 100644--- a/test/loaders/test_firecrawl.py+++ b/test/loaders/test_firecrawl.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listfrom unittest.mock import patchdiff --git a/test/loaders/test_jina_url_reader.py b/test/loaders/test_jina_url_reader.pyindex 1377ead40..2fe20cd53 100644--- a/test/loaders/test_jina_url_reader.py+++ b/test/loaders/test_jina_url_reader.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import Mock, patchimport pytestdiff --git a/test/loaders/test_unstructured_io.py b/test/loaders/test_unstructured_io.pyindex f8975d563..7f2f88367 100644--- a/test/loaders/test_unstructured_io.py+++ b/test/loaders/test_unstructured_io.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import uuidfrom typing import Any, Dict, List, Tuplediff --git a/test/memories/context_creators/test_score_based.py b/test/memories/context_creators/test_score_based.pyindex 922d7b614..f55f55133 100644--- a/test/memories/context_creators/test_score_based.py+++ b/test/memories/context_creators/test_score_based.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.memories import (ContextRecord,diff --git a/test/memories/test_agent_memories.py b/test/memories/test_agent_memories.pyindex 494affa27..4acd18bb8 100644--- a/test/memories/test_agent_memories.py+++ b/test/memories/test_agent_memories.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMockimport pytestdiff --git a/test/memories/test_blocks.py b/test/memories/test_blocks.pyindex c858c9c38..9a748dbfa 100644--- a/test/memories/test_blocks.py+++ b/test/memories/test_blocks.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, create_autospecfrom uuid import uuid4diff --git a/test/memories/test_chat_history_memory.py b/test/memories/test_chat_history_memory.pyindex 4b452241a..1e3c98295 100644--- a/test/memories/test_chat_history_memory.py+++ b/test/memories/test_chat_history_memory.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import tempfilefrom pathlib import Pathdiff --git a/test/messages/test_chat_message.py b/test/messages/test_chat_message.pyindex abfde7787..b9f0d9dd6 100644--- a/test/messages/test_chat_message.py+++ b/test/messages/test_chat_message.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dictimport pytestdiff --git a/test/messages/test_func_message.py b/test/messages/test_func_message.pyindex 21ee46658..850104254 100644--- a/test/messages/test_func_message.py+++ b/test/messages/test_func_message.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Any, Dict, Listimport pytestdiff --git a/test/messages/test_message_base.py b/test/messages/test_message_base.pyindex 437992a7d..2fe00e769 100644--- a/test/messages/test_message_base.py+++ b/test/messages/test_message_base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listimport pytestdiff --git a/test/models/test_anthropic_model.py b/test/models/test_anthropic_model.pyindex c02f115a6..e0068d34a 100644--- a/test/models/test_anthropic_model.py+++ b/test/models/test_anthropic_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_azure_openai_model.py b/test/models/test_azure_openai_model.pyindex f014e5cbb..15d83d9fb 100644--- a/test/models/test_azure_openai_model.py+++ b/test/models/test_azure_openai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. ========="""please set the below os environment:export AZURE_OPENAI_BASE_URL=""diff --git a/test/models/test_cohere_model.py b/test/models/test_cohere_model.pyindex 03cd085e0..73981755a 100644--- a/test/models/test_cohere_model.py+++ b/test/models/test_cohere_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_gemini_model.py b/test/models/test_gemini_model.pyindex 4a56c0950..390b7487b 100644--- a/test/models/test_gemini_model.py+++ b/test/models/test_gemini_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_groq_llama3_model.py b/test/models/test_groq_llama3_model.pyindex ecc58a459..55996e238 100644--- a/test/models/test_groq_llama3_model.py+++ b/test/models/test_groq_llama3_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_litellm_model.py b/test/models/test_litellm_model.pyindex 3e605a8c5..3e13784dc 100644--- a/test/models/test_litellm_model.py+++ b/test/models/test_litellm_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_mistral_model.py b/test/models/test_mistral_model.pyindex 74949a103..5893cfb1f 100644--- a/test/models/test_mistral_model.py+++ b/test/models/test_mistral_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_model_factory.py b/test/models/test_model_factory.pyindex b93e6f513..88042faa2 100644--- a/test/models/test_model_factory.py+++ b/test/models/test_model_factory.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.configs import (diff --git a/test/models/test_model_type.py b/test/models/test_model_type.pyindex 364763907..d75ba47f3 100644--- a/test/models/test_model_type.py+++ b/test/models/test_model_type.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.types import ModelType, UnifiedModelTypediff --git a/test/models/test_ollama_model.py b/test/models/test_ollama_model.pyindex 5e05edf53..b64430ed8 100644--- a/test/models/test_ollama_model.py+++ b/test/models/test_ollama_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_openai_audio_models.py b/test/models/test_openai_audio_models.pyindex 3a5d24bc5..89e7c1d84 100644--- a/test/models/test_openai_audio_models.py+++ b/test/models/test_openai_audio_models.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport tempfilefrom unittest.mock import ANY, Mock, patchdiff --git a/test/models/test_openai_model.py b/test/models/test_openai_model.pyindex e85a541e6..eb2e8ca78 100644--- a/test/models/test_openai_model.py+++ b/test/models/test_openai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_qwen_model.py b/test/models/test_qwen_model.pyindex dd68358fd..428c37665 100644--- a/test/models/test_qwen_model.py+++ b/test/models/test_qwen_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import rediff --git a/test/models/test_reka_model.py b/test/models/test_reka_model.pyindex 6f2570854..3a19b600a 100644--- a/test/models/test_reka_model.py+++ b/test/models/test_reka_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_samba_model.py b/test/models/test_samba_model.pyindex 966492b8d..bd9acbe54 100644--- a/test/models/test_samba_model.py+++ b/test/models/test_samba_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_togetherai_model.py b/test/models/test_togetherai_model.pyindex 9970e97f2..29c448280 100644--- a/test/models/test_togetherai_model.py+++ b/test/models/test_togetherai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.configs import TogetherAIConfigdiff --git a/test/models/test_vllm_model.py b/test/models/test_vllm_model.pyindex 9933d7125..2e8ba6a9c 100644--- a/test/models/test_vllm_model.py+++ b/test/models/test_vllm_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/models/test_yi_model.py b/test/models/test_yi_model.pyindex 095188dd8..5dc0250fc 100644--- a/test/models/test_yi_model.py+++ b/test/models/test_yi_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import rediff --git a/test/models/test_zhipuai_model.py b/test/models/test_zhipuai_model.pyindex 5f09be85a..f3e4074e3 100644--- a/test/models/test_zhipuai_model.py+++ b/test/models/test_zhipuai_model.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import reimport pytestdiff --git a/test/personas/test_persona_generator.py b/test/personas/test_persona_generator.pyindex 70a07a27e..a3ae12812 100644--- a/test/personas/test_persona_generator.py+++ b/test/personas/test_persona_generator.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import uuidfrom typing import Dictfrom unittest.mock import MagicMock, patchdiff --git a/test/prompts/test_ai_society.py b/test/prompts/test_ai_society.pyindex c84117ec1..fcee890d9 100644--- a/test/prompts/test_ai_society.py+++ b/test/prompts/test_ai_society.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import AISocietyPromptTemplateDict, TextPromptfrom camel.types import RoleTypediff --git a/test/prompts/test_code.py b/test/prompts/test_code.pyindex d91b8c66e..2764b8daf 100644--- a/test/prompts/test_code.py+++ b/test/prompts/test_code.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import CodePromptTemplateDict, TextPromptfrom camel.types import RoleTypediff --git a/test/prompts/test_generate_text_embedding_data.py b/test/prompts/test_generate_text_embedding_data.pyindex 28545b0fe..db7484b0c 100644--- a/test/prompts/test_generate_text_embedding_data.py+++ b/test/prompts/test_generate_text_embedding_data.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import (GenerateTextEmbeddingDataPromptTemplateDict,TextPrompt,diff --git a/test/prompts/test_misalignment.py b/test/prompts/test_misalignment.pyindex b5c3279cf..eb6f5057a 100644--- a/test/prompts/test_misalignment.py+++ b/test/prompts/test_misalignment.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import MisalignmentPromptTemplateDict, TextPromptfrom camel.types import RoleTypediff --git a/test/prompts/test_prompt_base.py b/test/prompts/test_prompt_base.pyindex ea446dbf4..c7a249a38 100644--- a/test/prompts/test_prompt_base.py+++ b/test/prompts/test_prompt_base.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts.base import (CodePrompt,diff --git a/test/prompts/test_prompt_templates.py b/test/prompts/test_prompt_templates.pyindex 0df06b37a..c2c92b90b 100644--- a/test/prompts/test_prompt_templates.py+++ b/test/prompts/test_prompt_templates.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.prompts import PromptTemplateGenerator, TextPromptdiff --git a/test/prompts/test_role_description_prompt_template.py b/test/prompts/test_role_description_prompt_template.pyindex 288b6a9ca..ef538fde3 100644--- a/test/prompts/test_role_description_prompt_template.py+++ b/test/prompts/test_role_description_prompt_template.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import RoleDescriptionPromptTemplateDict, TextPromptfrom camel.types import RoleTypediff --git a/test/prompts/test_task_prompt_template.py b/test/prompts/test_task_prompt_template.pyindex 6c97eb230..b197dc8e1 100644--- a/test/prompts/test_task_prompt_template.py+++ b/test/prompts/test_task_prompt_template.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import AISocietyPromptTemplateDict, TaskPromptTemplateDictfrom camel.types import TaskTypediff --git a/test/prompts/test_translation.py b/test/prompts/test_translation.pyindex 10d36c8f3..2ca64e29d 100644--- a/test/prompts/test_translation.py+++ b/test/prompts/test_translation.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.prompts import TextPrompt, TranslationPromptTemplateDictfrom camel.types import RoleTypediff --git a/test/retrievers/test_auto_retriever.py b/test/retrievers/test_auto_retriever.pyindex 5b9a9bfae..c6389156a 100644--- a/test/retrievers/test_auto_retriever.py+++ b/test/retrievers/test_auto_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport shutildiff --git a/test/retrievers/test_bm25_retriever.py b/test/retrievers/test_bm25_retriever.pyindex 10fbafb52..28ce73b33 100644--- a/test/retrievers/test_bm25_retriever.py+++ b/test/retrievers/test_bm25_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchdiff --git a/test/retrievers/test_cohere_rerank_retriever.py b/test/retrievers/test_cohere_rerank_retriever.pyindex 73b3a4fec..42599f614 100644--- a/test/retrievers/test_cohere_rerank_retriever.py+++ b/test/retrievers/test_cohere_rerank_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.retrievers import CohereRerankRetrieverdiff --git a/test/retrievers/test_vector_retriever.py b/test/retrievers/test_vector_retriever.pyindex 7f3a92107..fc855ac01 100644--- a/test/retrievers/test_vector_retriever.py+++ b/test/retrievers/test_vector_retriever.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, Mock, patchimport pytestdiff --git a/test/runtime/test_code_execution_with_llm_guard_runtime.py b/test/runtime/test_code_execution_with_llm_guard_runtime.pyindex 1b6011cd6..359180aa4 100644--- a/test/runtime/test_code_execution_with_llm_guard_runtime.py+++ b/test/runtime/test_code_execution_with_llm_guard_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.agents import ChatAgentfrom camel.configs import ChatGPTConfigdiff --git a/test/runtime/test_docker_runtime.py b/test/runtime/test_docker_runtime.pyindex 1c27ba5d2..e0d57b5f1 100644--- a/test/runtime/test_docker_runtime.py+++ b/test/runtime/test_docker_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.runtime import DockerRuntimediff --git a/test/runtime/test_remote_http_runtime.py b/test/runtime/test_remote_http_runtime.pyindex e1c07a37f..e31b34d58 100644--- a/test/runtime/test_remote_http_runtime.py+++ b/test/runtime/test_remote_http_runtime.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.runtime import RemoteHttpRuntimediff --git a/test/storages/graph_storages/test_graph_element.py b/test/storages/graph_storages/test_graph_element.pyindex a301e9621..a9bc0e426 100644--- a/test/storages/graph_storages/test_graph_element.py+++ b/test/storages/graph_storages/test_graph_element.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestdiff --git a/test/storages/graph_storages/test_nebula_graph.py b/test/storages/graph_storages/test_nebula_graph.pyindex d712cc876..424848155 100644--- a/test/storages/graph_storages/test_nebula_graph.py+++ b/test/storages/graph_storages/test_nebula_graph.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import unittestfrom unittest.mock import Mock, patchdiff --git a/test/storages/graph_storages/test_neo4j_graph.py b/test/storages/graph_storages/test_neo4j_graph.pyindex 17de206e8..696b012b9 100644--- a/test/storages/graph_storages/test_neo4j_graph.py+++ b/test/storages/graph_storages/test_neo4j_graph.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom unstructured.documents.elements import Elementdiff --git a/test/storages/key_value_storages/test_key_value_storages.py b/test/storages/key_value_storages/test_key_value_storages.pyindex 4d24d05bb..c3a224860 100644--- a/test/storages/key_value_storages/test_key_value_storages.py+++ b/test/storages/key_value_storages/test_key_value_storages.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import tempfilefrom pathlib import Pathdiff --git a/test/storages/key_value_storages/test_redis.py b/test/storages/key_value_storages/test_redis.pyindex d86230c1f..3524c2031 100644--- a/test/storages/key_value_storages/test_redis.py+++ b/test/storages/key_value_storages/test_redis.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import asyncioimport jsondiff --git a/test/storages/object_storages/test_amazon_s3.py b/test/storages/object_storages/test_amazon_s3.pyindex c10f1fd4f..c186f2f10 100644--- a/test/storages/object_storages/test_amazon_s3.py+++ b/test/storages/object_storages/test_amazon_s3.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pathlib import PurePosixPath, PureWindowsPathimport pytestdiff --git a/test/storages/object_storages/test_azure_blob.py b/test/storages/object_storages/test_azure_blob.pyindex 8257c5439..3c8803ddf 100644--- a/test/storages/object_storages/test_azure_blob.py+++ b/test/storages/object_storages/test_azure_blob.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pathlib import PurePosixPath, PureWindowsPathimport pytestdiff --git a/test/storages/object_storages/test_google_cloud.py b/test/storages/object_storages/test_google_cloud.pyindex 5e07a3a7e..9a1e2e61d 100644--- a/test/storages/object_storages/test_google_cloud.py+++ b/test/storages/object_storages/test_google_cloud.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from pathlib import PurePosixPath, PureWindowsPathdiff --git a/test/storages/vector_storages/test_all_vectordbs.py b/test/storages/vector_storages/test_all_vectordbs.pyindex ddcefb9d8..198cbc57a 100644--- a/test/storages/vector_storages/test_all_vectordbs.py+++ b/test/storages/vector_storages/test_all_vectordbs.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import shutilimport tempfilediff --git a/test/storages/vector_storages/test_milvus.py b/test/storages/vector_storages/test_milvus.pyindex 302032170..2eef56a65 100644--- a/test/storages/vector_storages/test_milvus.py+++ b/test/storages/vector_storages/test_milvus.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, create_autospec, patchimport pytestdiff --git a/test/storages/vector_storages/test_qdrant.py b/test/storages/vector_storages/test_qdrant.pyindex e6229a510..16707c0e0 100644--- a/test/storages/vector_storages/test_qdrant.py+++ b/test/storages/vector_storages/test_qdrant.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import shutilimport tempfilediff --git a/test/tasks/test_task.py b/test/tasks/test_task.pyindex 32fa15048..53bdc6cb2 100644--- a/test/tasks/test_task.py+++ b/test/tasks/test_task.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.tasks import Task, TaskManagerdiff --git a/test/terminators/test_response_terminator.py b/test/terminators/test_response_terminator.pyindex aa156b17a..0b78d86ea 100644--- a/test/terminators/test_response_terminator.py+++ b/test/terminators/test_response_terminator.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from typing import Listimport pytestdiff --git a/test/terminators/test_token_limit_terminator.py b/test/terminators/test_token_limit_terminator.pyindex 19e9a5a43..15b3d36fa 100644--- a/test/terminators/test_token_limit_terminator.py+++ b/test/terminators/test_token_limit_terminator.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.terminators import TokenLimitTerminatordiff --git a/test/test_generators.py b/test/test_generators.pyindex 9c10d6807..29305855b 100644--- a/test/test_generators.py+++ b/test/test_generators.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.generators import (AISocietyTaskPromptGenerator,RoleNameGenerator,diff --git a/test/test_human.py b/test/test_human.pyindex c526b142e..65be88446 100644--- a/test/test_human.py+++ b/test/test_human.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from camel.human import Humanfrom camel.messages import BaseMessagediff --git a/test/toolkits/test_arxiv_functions.py b/test/toolkits/test_arxiv_functions.pyindex 60bdab970..19cabd53c 100644--- a/test/toolkits/test_arxiv_functions.py+++ b/test/toolkits/test_arxiv_functions.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchdiff --git a/test/toolkits/test_asknews_function.py b/test/toolkits/test_asknews_function.pyindex b1e724d1b..2a7bcfc2f 100644--- a/test/toolkits/test_asknews_function.py+++ b/test/toolkits/test_asknews_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport unittestfrom unittest.mock import MagicMock, patchdiff --git a/test/toolkits/test_code_execution.py b/test/toolkits/test_code_execution.pyindex 82d9e847b..b93ecb560 100644--- a/test/toolkits/test_code_execution.py+++ b/test/toolkits/test_code_execution.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestdiff --git a/test/toolkits/test_dalle_functions.py b/test/toolkits/test_dalle_functions.pyindex 1e18973bd..7373a4a65 100644--- a/test/toolkits/test_dalle_functions.py+++ b/test/toolkits/test_dalle_functions.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import base64import osdiff --git a/test/toolkits/test_data_commons_toolkit.py b/test/toolkits/test_data_commons_toolkit.pyindex a155c7f9b..cd7b8757a 100644--- a/test/toolkits/test_data_commons_toolkit.py+++ b/test/toolkits/test_data_commons_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import patchfrom camel.toolkits.data_commons_toolkit import DataCommonsToolkitdiff --git a/test/toolkits/test_generate_openai_tool_schema.py b/test/toolkits/test_generate_openai_tool_schema.pyindex 1a7ab168c..a484a18fa 100644--- a/test/toolkits/test_generate_openai_tool_schema.py+++ b/test/toolkits/test_generate_openai_tool_schema.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchimport pytestdiff --git a/test/toolkits/test_github_toolkit.py b/test/toolkits/test_github_toolkit.pyindex 6bb6dcd7e..03f810e1c 100644--- a/test/toolkits/test_github_toolkit.py+++ b/test/toolkits/test_github_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchdiff --git a/test/toolkits/test_google_maps_function.py b/test/toolkits/test_google_maps_function.pyindex f6b002147..14b830a25 100644--- a/test/toolkits/test_google_maps_function.py+++ b/test/toolkits/test_google_maps_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchimport pytestdiff --git a/test/toolkits/test_google_scholar_toolkit.py b/test/toolkits/test_google_scholar_toolkit.pyindex 435023467..9abc22aa9 100644--- a/test/toolkits/test_google_scholar_toolkit.py+++ b/test/toolkits/test_google_scholar_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import patchfrom camel.toolkits import FunctionTool, GoogleScholarToolkitdiff --git a/test/toolkits/test_linkedin_function.py b/test/toolkits/test_linkedin_function.pyindex db97a0160..0b7a30e1d 100644--- a/test/toolkits/test_linkedin_function.py+++ b/test/toolkits/test_linkedin_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from http import HTTPStatusfrom unittest.mock import MagicMock, patchdiff --git a/test/toolkits/test_notion_toolkit.py b/test/toolkits/test_notion_toolkit.pyindex 11f568dba..bef9646d5 100644--- a/test/toolkits/test_notion_toolkit.py+++ b/test/toolkits/test_notion_toolkit.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import patchfrom camel.toolkits import FunctionTool, NotionToolkitdiff --git a/test/toolkits/test_open_api_function.py b/test/toolkits/test_open_api_function.pyindex 7d0b4ea8b..74d41a88e 100644--- a/test/toolkits/test_open_api_function.py+++ b/test/toolkits/test_open_api_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchimport pytestdiff --git a/test/toolkits/test_openai_function.py b/test/toolkits/test_openai_function.pyindex f813c2c82..9ef366ecd 100644--- a/test/toolkits/test_openai_function.py+++ b/test/toolkits/test_openai_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import copyimport jsonfrom datetime import datetimediff --git a/test/toolkits/test_reddit_functions.py b/test/toolkits/test_reddit_functions.pyindex 64c1370a1..916f09ff0 100644--- a/test/toolkits/test_reddit_functions.py+++ b/test/toolkits/test_reddit_functions.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchdiff --git a/test/toolkits/test_search_functions.py b/test/toolkits/test_search_functions.pyindex 7405e5202..94be2e9e7 100644--- a/test/toolkits/test_search_functions.py+++ b/test/toolkits/test_search_functions.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom unittest import mockfrom unittest.mock import MagicMock, Mock, patchdiff --git a/test/toolkits/test_slack_functions.py b/test/toolkits/test_slack_functions.pyindex 5d74c646a..6304e5935 100644--- a/test/toolkits/test_slack_functions.py+++ b/test/toolkits/test_slack_functions.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, patchimport pytestdiff --git a/test/toolkits/test_synthesize_output.py b/test/toolkits/test_synthesize_output.pyindex 83c624aa1..1fcbc53e9 100644--- a/test/toolkits/test_synthesize_output.py+++ b/test/toolkits/test_synthesize_output.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom pydantic import BaseModel, Fielddiff --git a/test/toolkits/test_twitter_function.py b/test/toolkits/test_twitter_function.pyindex a1b067010..920fa84dc 100644--- a/test/toolkits/test_twitter_function.py+++ b/test/toolkits/test_twitter_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import textwrapfrom unittest.mock import MagicMock, patchdiff --git a/test/toolkits/test_video_function.py b/test/toolkits/test_video_function.pyindex 315ae79e3..744316fff 100644--- a/test/toolkits/test_video_function.py+++ b/test/toolkits/test_video_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from unittest.mock import MagicMock, mock_open, patchimport pytestdiff --git a/test/toolkits/test_weather_function.py b/test/toolkits/test_weather_function.pyindex e295ef0bd..c75dce717 100644--- a/test/toolkits/test_weather_function.py+++ b/test/toolkits/test_weather_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osimport refrom datetime import datetime, timezonediff --git a/test/toolkits/test_whatsapp_function.py b/test/toolkits/test_whatsapp_function.pyindex bf9fa04b9..a2c1b2cad 100644--- a/test/toolkits/test_whatsapp_function.py+++ b/test/toolkits/test_whatsapp_function.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom unittest.mock import MagicMock, patchdiff --git a/test/utils/test_commons.py b/test/utils/test_commons.pyindex 9ce859fc0..0703a3318 100644--- a/test/utils/test_commons.py+++ b/test/utils/test_commons.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import osfrom unittest.mock import patchdiff --git a/test/utils/test_token_counting.py b/test/utils/test_token_counting.pyindex 53b8ca63b..c17ae9706 100644--- a/test/utils/test_token_counting.py+++ b/test/utils/test_token_counting.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom PIL import Imagediff --git a/test/workforce/test_workforce_single_agent.py b/test/workforce/test_workforce_single_agent.pyindex 84af78807..1af0ad48c 100644--- a/test/workforce/test_workforce_single_agent.py+++ b/test/workforce/test_workforce_single_agent.py@@ -1,16 +1,16 @@-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========-# Licensed under the Apache License, Version 2.0 (the āLicenseā);+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========+# Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software-# distributed under the License is distributed on an āAS ISā BASIS,+# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.-# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========+# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========import pytestfrom camel.agents.chat_agent import ChatAgent