Skip to content

Commit

Permalink
🔼 feat: Add runCode option to interface configuration (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila authored Feb 23, 2025
1 parent f5ee4e2 commit f520af2
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ These are fields under `interface`:
- `multiConvo`
- `agents`
- `customWelcome`
- `runCode`

**Notes:**

Expand Down Expand Up @@ -51,6 +52,7 @@ interface:
multiConvo: true
agents: true
customWelcome: "Welcome to LibreChat!"
runCode: true
```
## privacyPolicy
Expand Down Expand Up @@ -264,3 +266,24 @@ interface:
customWelcome: "Welcome to LibreChat! Enjoy your conversation."
```

## runCode

Enables/disables the "Run Code" button for Markdown Code Blocks. More info on the [LibreChat Code Interpreter API](/docs/features/code_interpreter)

**Note:** This setting does not disable the [Agents Code Interpreter Capability](/docs/features/agents#code-interpreter). To disable the Agents Capability, see the [Agents Endpoint configuration](/docs/configuration/librechat_yaml/object_structure/agents) instead.

**Key:**
<OptionTable
options={[
['runCode', 'Boolean', 'Enables or disables the "Run Code" button for Markdown Code Blocks.'],
]}
/>

**Default:** `true`

**Example:**
```yaml filename="interface / runCode"
interface:
runCode: true
```

0 comments on commit f520af2

Please sign in to comment.