Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

fix pipeline (#1222)

Xukun Liu95af6f4b1ff5
diff --git a/test/models/test_cohere_model.py b/test/models/test_cohere_model.py
index dfe53f4e4..03cd085e0 100644
--- a/test/models/test_cohere_model.py
+++ b/test/models/test_cohere_model.py
@@ -45,7 +45,7 @@ def test_cohere_model(model_type):
@pytest.mark.model_backend
def test_cohere_model_unexpected_argument():
model_type = ModelType.COHERE_COMMAND_R
- model_config_dict = {"model_path", "vicuna-7b-v1.5"}
+ model_config_dict = {"model_path": "vicuna-7b-v1.5"}
with pytest.raises(
ValueError,
diff --git a/test/runtime/test_remote_http_runtime.py b/test/runtime/test_remote_http_runtime.py
index f739fa577..e1c07a37f 100644
--- a/test/runtime/test_remote_http_runtime.py
+++ b/test/runtime/test_remote_http_runtime.py
@@ -11,10 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========
+import pytest
+
from camel.runtime import RemoteHttpRuntime
from camel.toolkits import MathToolkit
[email protected](reason="Cannot run this test without a running server.")
def test_remote_http_runtime():
runtime = (
RemoteHttpRuntime("localhost")