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-bot6c2116b55b8c
diff --git a/docs/mintlify/reference/camel.agents.chat_agent.mdx b/docs/mintlify/reference/camel.agents.chat_agent.mdx
index fe6ef90a5..9c8b191d8 100644
--- a/docs/mintlify/reference/camel.agents.chat_agent.mdx
+++ b/docs/mintlify/reference/camel.agents.chat_agent.mdx
@@ -47,6 +47,16 @@ def add_streaming_content(self, new_content: str):
Add new streaming content.
+<a id="camel.agents.chat_agent.StreamContentAccumulator.add_reasoning_content"></a>
+
+### add_reasoning_content
+
+```python
+def add_reasoning_content(self, new_reasoning: str):
+```
+
+Add new reasoning content.
+
<a id="camel.agents.chat_agent.StreamContentAccumulator.add_tool_status"></a>
### add_tool_status
@@ -67,6 +77,16 @@ def get_full_content(self):
Get the complete accumulated content.
+<a id="camel.agents.chat_agent.StreamContentAccumulator.get_full_reasoning_content"></a>
+
+### get_full_reasoning_content
+
+```python
+def get_full_reasoning_content(self):
+```
+
+Get the complete accumulated reasoning content.
+
<a id="camel.agents.chat_agent.StreamContentAccumulator.get_content_with_new_status"></a>
### get_content_with_new_status
@@ -1539,7 +1559,8 @@ def _create_streaming_response_with_accumulator(
new_content: str,
step_token_usage: Dict[str, int],
response_id: str = '',
- tool_call_records: Optional[List[ToolCallingRecord]] = None
+ tool_call_records: Optional[List[ToolCallingRecord]] = None,
+ reasoning_delta: Optional[str] = None
):
```
diff --git a/docs/mintlify/reference/camel.messages.base.mdx b/docs/mintlify/reference/camel.messages.base.mdx
index f4ad3b9db..1531832d0 100644
--- a/docs/mintlify/reference/camel.messages.base.mdx
+++ b/docs/mintlify/reference/camel.messages.base.mdx
@@ -20,7 +20,8 @@ Base class for message objects used in CAMEL chat system.
- **image_list** (Optional[List[Union[Image.Image, str]]]): Optional list of PIL Image objects or image URLs (strings) associated with the message. (default: :obj:`None`)
- **image_detail** (`Literal["auto", "low", "high"]`): Detail level of the images associated with the message. (default: :obj:`auto`)
- **video_detail** (`Literal["auto", "low", "high"]`): Detail level of the videos associated with the message. (default: :obj:`auto`)
-- **parsed**: Optional[Union[Type[BaseModel], dict]]: Optional object which is parsed from the content. (default: :obj:`None`)
+- **parsed** (Optional[Union[Type[BaseModel], dict]]): Optional object which is parsed from the content. (default: :obj:`None`)
+- **reasoning_content** (Optional[str]): Optional reasoning trace associated with the message. (default: :obj:`None`)
<a id="camel.messages.base.BaseMessage.make_user_message"></a>
diff --git a/docs/mintlify/reference/camel.models.deepseek_model.mdx b/docs/mintlify/reference/camel.models.deepseek_model.mdx
index f5fb2fe2c..515c27f71 100644
--- a/docs/mintlify/reference/camel.models.deepseek_model.mdx
+++ b/docs/mintlify/reference/camel.models.deepseek_model.mdx
@@ -53,16 +53,6 @@ def _prepare_request(
):
```
-<a id="camel.models.deepseek_model.DeepSeekModel._post_handle_response"></a>
-
-### _post_handle_response
-
-```python
-def _post_handle_response(self, response: ChatCompletion):
-```
-
-Handle reasoning content with `<think>` tags at the beginning.
-
<a id="camel.models.deepseek_model.DeepSeekModel._run"></a>
### _run
diff --git a/docs/mintlify/reference/camel.models.modelscope_model.mdx b/docs/mintlify/reference/camel.models.modelscope_model.mdx
index 7add4dc08..378dcc23f 100644
--- a/docs/mintlify/reference/camel.models.modelscope_model.mdx
+++ b/docs/mintlify/reference/camel.models.modelscope_model.mdx
@@ -38,28 +38,3 @@ def __init__(
**kwargs: Any
):
```
-
-<a id="camel.models.modelscope_model.ModelScopeModel._post_handle_response"></a>
-
-### _post_handle_response
-
-```python
-def _post_handle_response(
- self,
- response: Union[ChatCompletion, Stream[ChatCompletionChunk]]
-):
-```
-
-Handle reasoning content with `<think>` tags at the beginning.
-
-<a id="camel.models.modelscope_model.ModelScopeModel._request_chat_completion"></a>
-
-### _request_chat_completion
-
-```python
-def _request_chat_completion(
- self,
- messages: List[OpenAIMessage],
- tools: Optional[List[Dict[str, Any]]] = None
-):
-```
diff --git a/docs/mintlify/reference/camel.models.qwen_model.mdx b/docs/mintlify/reference/camel.models.qwen_model.mdx
index c8c2e8328..77187f3ce 100644
--- a/docs/mintlify/reference/camel.models.qwen_model.mdx
+++ b/docs/mintlify/reference/camel.models.qwen_model.mdx
@@ -37,28 +37,3 @@ def __init__(
**kwargs: Any
):
```
-
-<a id="camel.models.qwen_model.QwenModel._post_handle_response"></a>
-
-### _post_handle_response
-
-```python
-def _post_handle_response(
- self,
- response: Union[ChatCompletion, Stream[ChatCompletionChunk]]
-):
-```
-
-Handle reasoning content with `<think>` tags at the beginning.
-
-<a id="camel.models.qwen_model.QwenModel._request_chat_completion"></a>
-
-### _request_chat_completion
-
-```python
-def _request_chat_completion(
- self,
- messages: List[OpenAIMessage],
- tools: Optional[List[Dict[str, Any]]] = None
-):
-```