Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix: Correct the dimension argument in dashscope text embedding model (#856)
qbc267cea0e415a
diff --git a/src/agentscope/embedding/_dashscope_embedding.py b/src/agentscope/embedding/_dashscope_embedding.pyindex 6c0bea060..d857663e2 100644--- a/src/agentscope/embedding/_dashscope_embedding.py+++ b/src/agentscope/embedding/_dashscope_embedding.py@@ -146,7 +146,7 @@ class DashScopeTextEmbedding(EmbeddingModelBase):batch_kwargs = {"input": batch_texts,"model": self.model_name,- "dimensions": self.dimensions,+ "dimension": self.dimensions,**kwargs,}