🐫 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
Auto-update documentation after merge [skip ci]
camel-docs-botca4902761f58
diff --git a/docs/mintlify/reference/camel.models.base_model.mdx b/docs/mintlify/reference/camel.models.base_model.mdxindex fdd754513..834fe25bc 100644--- a/docs/mintlify/reference/camel.models.base_model.mdx+++ b/docs/mintlify/reference/camel.models.base_model.mdx@@ -216,6 +216,28 @@ def token_counter(self):BaseTokenCounter: The token counter following the model'stokenization style.+<a id="camel.models.base_model.BaseModelBackend._prepare_request_config"></a>++### _prepare_request_config++```python+def _prepare_request_config(self, tools: Optional[List[Dict[str, Any]]] = None):+```++Prepare the request configuration dictionary.++Creates a deep copy of the model config and handles tool-related+parameters. If no tools are specified, removes parallel_tool_calls+as OpenAI API only allows it when tools are present.++**Parameters:**++- **tools** (Optional[List[Dict[str, Any]]]): The tools to include in the request. (default: :obj:`None`)++**Returns:**++ Dict[str, Any]: The prepared request configuration.+<a id="camel.models.base_model.BaseModelBackend.preprocess_messages"></a>### preprocess_messages