From a72635ccb467fede6fbc6ddc9821928f15c49285 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Fri, 3 Jan 2025 16:41:58 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=98=20docs:=20update=20Code=20Interpre?= =?UTF-8?q?ter=20API=20limitations=20and=20add=20Rscript=20support=20(#191?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📘 docs: update Code Interpreter API limitations and add Rscript support * 🚀 feat: Add recursionLimit to Agents Config for controlling maximum recursion depth --- .../changelog/content/config_v1.2.1.mdx | 2 ++ pages/changelog/config_v1.2.1.mdx | 13 ++++++++++++ .../object_structure/agents.mdx | 18 +++++++++++++++-- pages/docs/features/code_interpreter.mdx | 20 ++++++++++++++----- 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 components/changelog/content/config_v1.2.1.mdx create mode 100644 pages/changelog/config_v1.2.1.mdx diff --git a/components/changelog/content/config_v1.2.1.mdx b/components/changelog/content/config_v1.2.1.mdx new file mode 100644 index 000000000..dc81f1d3a --- /dev/null +++ b/components/changelog/content/config_v1.2.1.mdx @@ -0,0 +1,2 @@ +- Added `recursionLimit` to [Agents Config](/docs/configuration/librechat_yaml/object_structure/agents#recursionlimit) to control maximum agent recursion depth + - Default limit: 25 steps diff --git a/pages/changelog/config_v1.2.1.mdx b/pages/changelog/config_v1.2.1.mdx new file mode 100644 index 000000000..4ec6602ed --- /dev/null +++ b/pages/changelog/config_v1.2.1.mdx @@ -0,0 +1,13 @@ +--- +date: 2025/1/3 +title: ⚙️ Config v1.2.1 +--- + +import { ChangelogHeader } from '@/components/changelog/ChangelogHeader' +import Content from '@/components/changelog/content/config_v1.2.1.mdx' + + + +--- + + diff --git a/pages/docs/configuration/librechat_yaml/object_structure/agents.mdx b/pages/docs/configuration/librechat_yaml/object_structure/agents.mdx index d3f98ccc3..0d6068581 100644 --- a/pages/docs/configuration/librechat_yaml/object_structure/agents.mdx +++ b/pages/docs/configuration/librechat_yaml/object_structure/agents.mdx @@ -7,15 +7,30 @@ This page applies to the [`agents`](/docs/features/agents) endpoint. ```yaml filename="Agents Endpoint" endpoints: agents: + recursionLimit: 50 disableBuilder: false # (optional) Agent Capabilities available to all users. Omit the ones you wish to exclude. Defaults to list below. # capabilities: ["execute_code", "file_search", "actions", "tools"] ``` > This configuration enables the builder interface for agents. +## recursionLimit + + + +**Default:** `25` + +**Example:** +```yaml filename="endpoints / agents / recursionLimit" +recursionLimit: 50 +``` + ## disableBuilder -**Key:**