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-bot9079a97853bf
diff --git a/docs/mintlify/reference/camel.models.base_model.mdx b/docs/mintlify/reference/camel.models.base_model.mdx
index 1d8027ad3..35650991a 100644
--- a/docs/mintlify/reference/camel.models.base_model.mdx
+++ b/docs/mintlify/reference/camel.models.base_model.mdx
@@ -271,6 +271,20 @@ Log the response to the existing log file.
- **log_path** (str): The path to the log file.
- **response** (Any): The response to log.
+<a id="camel.models.base_model.BaseModelBackend._log_and_trace"></a>
+
+### _log_and_trace
+
+```python
+def _log_and_trace(self):
+```
+
+Update Langfuse trace with session metadata.
+
+This method updates the current Langfuse trace with agent session
+information and model metadata. Called at the start of _run() and
+_arun() methods before API execution.
+
<a id="camel.models.base_model.BaseModelBackend._run"></a>
### _run
diff --git a/docs/mintlify/reference/camel.models.openai_model.mdx b/docs/mintlify/reference/camel.models.openai_model.mdx
index c7fa4784d..b5d0968e0 100644
--- a/docs/mintlify/reference/camel.models.openai_model.mdx
+++ b/docs/mintlify/reference/camel.models.openai_model.mdx
@@ -85,16 +85,6 @@ def token_counter(self):
BaseTokenCounter: The token counter following the model's
tokenization style.
-<a id="camel.models.openai_model.OpenAIModel._log_and_trace"></a>
-
-### _log_and_trace
-
-```python
-def _log_and_trace(self):
-```
-
-Update Langfuse trace with session metadata and log it.
-
<a id="camel.models.openai_model.OpenAIModel._run"></a>
### _run