📘 docs: update Code Interpreter API limitations and add Rscript support (#191)

* 📘 docs: update Code Interpreter API limitations and add Rscript support

* 🚀 feat: Add recursionLimit to Agents Config for controlling maximum recursion depth
This commit is contained in:
Danny Avila
2025-01-03 16:41:58 -05:00
committed by GitHub
parent d78d8639df
commit a72635ccb4
4 changed files with 46 additions and 7 deletions

View File

@@ -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

View File

@@ -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'
<ChangelogHeader />
---
<Content />

View File

@@ -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
<OptionTable
options={[
['recursionLimit', 'Number', 'Sets the maximum number of super-steps the graph can execute during a single execution.', 'Controls recursion depth to prevent infinite loops. When limit is reached, raises GraphRecursionError.'],
]}
/>
**Default:** `25`
**Example:**
```yaml filename="endpoints / agents / recursionLimit"
recursionLimit: 50
```
## disableBuilder
**Key:**
<OptionTable
options={[
['disableBuilder', 'Boolean', 'Controls the visibility and use of the builder interface for agents.', 'When set to `true`, disables the builder interface for the agent, limiting direct manual interaction.'],
@@ -31,7 +46,6 @@ disableBuilder: false
## capabilities
**Key:**
<OptionTable
options={[
['capabilities', 'Array/List of Strings', 'Specifies the agent capabilities available to all users for the agents endpoint.', 'Defines the agent capabilities that are available to all users for the agents endpoint. You can omit the capabilities you wish to exclude from the list.'],

View File

@@ -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