🐫 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: sambaverse hot fix (#926)
Wendong-Fane93bc3596a4c
diff --git a/camel/models/samba_model.py b/camel/models/samba_model.pyindex 2172e45f3..e66b1c8b4 100644--- a/camel/models/samba_model.py+++ b/camel/models/samba_model.py@@ -20,7 +20,7 @@ from typing import Any, Dict, List, Optional, Unionimport httpxfrom openai import OpenAI, Stream-from camel.configs import SAMBA_FAST_API_PARAMS, SAMBAVERSE_API_PARAMS+from camel.configs import SAMBA_FAST_API_PARAMS, SAMBA_VERSE_API_PARAMSfrom camel.messages import OpenAIMessagefrom camel.types import (ChatCompletion,@@ -105,7 +105,7 @@ class SambaModel:)elif self._url == "https://sambaverse.sambanova.ai/api/predict":for param in self.model_config_dict:- if param not in SAMBAVERSE_API_PARAMS:+ if param not in SAMBA_VERSE_API_PARAMS:raise ValueError(f"Unexpected argument `{param}` is ""input into SambaVerse API."