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: Remove deprecated `min_tokens` parameter from mistral config. (#1268)

LastWhisperbce437a63e88
diff --git a/camel/configs/mistral_config.py b/camel/configs/mistral_config.py
index ec8f8c459..1e528e13e 100644
--- a/camel/configs/mistral_config.py
+++ b/camel/configs/mistral_config.py
@@ -35,8 +35,6 @@ class MistralConfig(BaseConfig):
tokens to generate, e.g. 0.9. Defaults to None.
max_tokens (Optional[int], optional): the maximum number of tokens to
generate, e.g. 100. Defaults to None.
- min_tokens (Optional[int], optional): the minimum number of tokens to
- generate, e.g. 100. Defaults to None.
stop (Optional[Union[str,list[str]]]): Stop generation if this token
is detected. Or if one of these tokens is detected when providing
a string list.
@@ -58,7 +56,6 @@ class MistralConfig(BaseConfig):
temperature: Optional[float] = None
top_p: Optional[float] = None
max_tokens: Optional[int] = None
- min_tokens: Optional[int] = None
stop: Optional[Union[str, list[str]]] = None
random_seed: Optional[int] = None
safe_prompt: bool = False