Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/changelog/content/config_v1.2.1.mdx
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions pages/changelog/config_v1.2.1.mdx
Original file line number Diff line number Diff line change
@@ -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 />
Original file line number Diff line number Diff line change
Expand Up @@ -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.'],
Expand All @@ -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.'],
Expand Down
20 changes: 15 additions & 5 deletions pages/docs/features/code_interpreter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Loading