From 012c74d83a1aa43d24321e6c2bd4c55d120126c9 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Fri, 3 Jan 2025 08:57:22 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=98=20docs:=20update=20Code=20Inte?= =?UTF-8?q?rpreter=20API=20limitations=20and=20add=20Rscript=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/docs/features/code_interpreter.mdx | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/pages/docs/features/code_interpreter.mdx b/pages/docs/features/code_interpreter.mdx index fc141c087..c3b8534db 100644 --- a/pages/docs/features/code_interpreter.mdx +++ b/pages/docs/features/code_interpreter.mdx @@ -32,7 +32,7 @@ LibreChat's Code Interpreter API provides a secure and hassle-free way to execut ### Supported Languages Execute code in multiple programming languages: -- Python, Node.js (JS/TS), Go, C/C++, Java, PHP, Rust, Fortran +- Python, Node.js (JS/TS), Go, C/C++, Java, PHP, Rust, Fortran, Rscript ### Seamless File Handling @@ -93,10 +93,20 @@ The Code Interpreter API can be integrated into any application using a simple A ### Limitations - Code cannot access the network - Only 10 files can be generated per run -- Generated files are limited to 10MB in size -- Max execution time is 15 seconds -- Max memory usage is 250 MB -- Higher limits are planned for premium subscriptions [(Enthusiast, Pro, Enterprise)](https://code.librechat.ai/pricing) +- Execution limits vary by plan: + - **Hobby**: + - 256 MB RAM per execution + - 25 MB per file upload + - 750 requests per month + - **Enthusiast**: + - 512 MB RAM per execution + - 50 MB per file upload + - 3,000 requests per month + - **Pro**: + - 512 MB RAM per execution + - 150 MB per file upload + - 7,000 requests per month +- The [Enterprise Plan](https://code.librechat.ai/pricing) provides custom limits and features ## Use Cases From 9557621ce93fab9b27667fd3d434ab3e6c720b66 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Fri, 3 Jan 2025 09:06:08 -0500 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=9A=80=20feat:=20Add=20recursionLimit?= =?UTF-8?q?=20to=20Agents=20Config=20for=20controlling=20maximum=20recursi?= =?UTF-8?q?on=20depth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/changelog/content/config_v1.2.1.mdx | 2 ++ pages/changelog/config_v1.2.1.mdx | 13 +++++++++++++ .../librechat_yaml/object_structure/agents.mdx | 18 ++++++++++++++++-- 3 files changed, 31 insertions(+), 2 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:**