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

Auto-update documentation after merge [skip ci]

camel-docs-bot5d0e544c7ab9
diff --git a/docs/mintlify/reference/camel.models.moonshot_model.mdx b/docs/mintlify/reference/camel.models.moonshot_model.mdx
index dcff7a54b..0b8071679 100644
--- a/docs/mintlify/reference/camel.models.moonshot_model.mdx
+++ b/docs/mintlify/reference/camel.models.moonshot_model.mdx
@@ -38,6 +38,31 @@ def __init__(
):
```
+<a id="camel.models.moonshot_model.MoonshotModel._prepare_request"></a>
+
+### _prepare_request
+
+```python
+def _prepare_request(
+ self,
+ messages: List[OpenAIMessage],
+ response_format: Optional[Type[BaseModel]] = None,
+ tools: Optional[List[Dict[str, Any]]] = None
+):
+```
+
+Prepare the request configuration for Moonshot API.
+
+**Parameters:**
+
+- **messages** (List[OpenAIMessage]): Message list with the chat history in OpenAI API format.
+- **response_format** (Optional[Type[BaseModel]]): The format of the response.
+- **tools** (Optional[List[Dict[str, Any]]]): The schema of the tools to use for the request.
+
+**Returns:**
+
+ Dict[str, Any]: The prepared request configuration.
+
<a id="camel.models.moonshot_model.MoonshotModel.check_model_config"></a>
### check_model_config