mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
📘 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:
2
components/changelog/content/config_v1.2.1.mdx
Normal file
2
components/changelog/content/config_v1.2.1.mdx
Normal 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
|
||||
13
pages/changelog/config_v1.2.1.mdx
Normal file
13
pages/changelog/config_v1.2.1.mdx
Normal 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 />
|
||||
@@ -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.'],
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user