🐫 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-bote3f5f612b045
diff --git a/docs/mintlify/reference/camel.societies.workforce.workforce.mdx b/docs/mintlify/reference/camel.societies.workforce.workforce.mdxindex 86c84fc56..c516a0349 100644--- a/docs/mintlify/reference/camel.societies.workforce.workforce.mdx+++ b/docs/mintlify/reference/camel.societies.workforce.workforce.mdx@@ -484,6 +484,36 @@ def _collect_shared_memory(self):records. Contains entries for 'coordinator', 'task_agent',and 'workers'.+<a id="camel.societies.workforce.workforce.Workforce._extract_stream_chunk"></a>++### _extract_stream_chunk++```python+def _extract_stream_chunk(self, chunk: ChatAgentResponse):+```++Extract normalized text and mode from a stream chunk.++<a id="camel.societies.workforce.workforce.Workforce._emit_stream_chunk_event"></a>++### _emit_stream_chunk_event++```python+def _emit_stream_chunk_event(self):+```++Emit a stream chunk event to all registered callbacks.++<a id="camel.societies.workforce.workforce.Workforce._clear_stream_progress_if_final"></a>++### _clear_stream_progress_if_final++```python+def _clear_stream_progress_if_final(self, chunk: ChatAgentResponse, stream_id: str):+```++Clear accumulated stream progress when a stream is complete.+<a id="camel.societies.workforce.workforce.Workforce._on_stream_callback"></a>### _on_stream_callbackdiff --git a/docs/mintlify/reference/camel.societies.workforce.workforce_callback.mdx b/docs/mintlify/reference/camel.societies.workforce.workforce_callback.mdxindex 0db3cce82..4abe5353b 100644--- a/docs/mintlify/reference/camel.societies.workforce.workforce_callback.mdx+++ b/docs/mintlify/reference/camel.societies.workforce.workforce_callback.mdx@@ -30,6 +30,14 @@ Gets a colored message for a log event.def log_message(self, event: LogEvent):```+<a id="camel.societies.workforce.workforce_callback.WorkforceCallback.log_stream_chunk"></a>++### log_stream_chunk++```python+def log_stream_chunk(self, event: StreamChunkEvent):+```+<a id="camel.societies.workforce.workforce_callback.WorkforceCallback.log_task_created"></a>### log_task_createddiff --git a/docs/mintlify/reference/camel.societies.workforce.workforce_logger.mdx b/docs/mintlify/reference/camel.societies.workforce.workforce_logger.mdxindex ea9b8288a..32f0f057b 100644--- a/docs/mintlify/reference/camel.societies.workforce.workforce_logger.mdx+++ b/docs/mintlify/reference/camel.societies.workforce.workforce_logger.mdx@@ -23,6 +23,8 @@ Initializes the WorkforceLogger.**Parameters:**- **workforce_id** (str): The unique identifier for the workforce.+- **log_stream_chunks** (bool): Whether to persist streaming chunk events. Disabled by default to avoid unbounded in-memory logs for high-volume streams.+- **stream_chunk_text_limit** (Optional[int]): Maximum number of characters to store for each stream chunk when `log_stream_chunks` is enabled. Set to `None` to store full chunk text.<a id="camel.societies.workforce.workforce_logger.WorkforceLogger.log_message"></a>@@ -34,6 +36,16 @@ def log_message(self, event: LogEvent):Logs a message to the console with color.+<a id="camel.societies.workforce.workforce_logger.WorkforceLogger.log_stream_chunk"></a>++### log_stream_chunk++```python+def log_stream_chunk(self, event: StreamChunkEvent):+```++Logs streaming chunk events.+<a id="camel.societies.workforce.workforce_logger.WorkforceLogger._log_event"></a>### _log_event