🐫 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-bot0b9d9862b863
diff --git a/docs/mintlify/reference/camel.messages.conversion.sharegpt.hermes.hermes_function_formatter.mdx b/docs/mintlify/reference/camel.messages.conversion.sharegpt.hermes.hermes_function_formatter.mdxindex f2e39c04a..83c79a9e8 100644--- a/docs/mintlify/reference/camel.messages.conversion.sharegpt.hermes.hermes_function_formatter.mdx+++ b/docs/mintlify/reference/camel.messages.conversion.sharegpt.hermes.hermes_function_formatter.mdx@@ -30,6 +30,29 @@ class HermesFunctionFormatter:Hermes-style function calling format implementation with validation+<a id="camel.messages.conversion.sharegpt.hermes.hermes_function_formatter.HermesFunctionFormatter._loads"></a>++### _loads++```python+def _loads(raw: str):+```++Parse a Hermes tool-call/response object into a Python value.++Real Hermes output is JSON, so parse it as JSON first. Fall back to+:func:`ast.literal_eval` for legacy Python-`__INLINE_CODE_1__` payloads (single+quotes, `__INLINE_CODE_2____INLINE_CODE_3____INLINE_CODE_4____INLINE_CODE_5____INLINE_CODE_6__`) that earlier CAMEL versions+emitted, so older serialized data keeps round-tripping.++**Parameters:**++- **raw** (str): The raw object substring captured from the message.++**Returns:**++ Any: The parsed object (typically a `__INLINE_CODE_0__`).+<a id="camel.messages.conversion.sharegpt.hermes.hermes_function_formatter.HermesFunctionFormatter.extract_tool_calls"></a>### extract_tool_calls