From 46a8df17f6d4f26abfad5b7486d0fa7ef032e655 Mon Sep 17 00:00:00 2001 From: qbc Date: Wed, 13 Mar 2024 20:48:51 +0800 Subject: [PATCH] modify model_type names --- src/agentscope/models/dashscope_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agentscope/models/dashscope_model.py b/src/agentscope/models/dashscope_model.py index 28da562ac..62c139ff6 100644 --- a/src/agentscope/models/dashscope_model.py +++ b/src/agentscope/models/dashscope_model.py @@ -333,7 +333,7 @@ def __call__( class DashScopeTextEmbeddingWrapper(DashScopeWrapper): """The model wrapper for DashScope Text Embedding API.""" - model_type: str = "dashscope_embedding" + model_type: str = "dashscope_text_embedding" def _register_default_metrics(self) -> None: # Set monitor accordingly