mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
docs: update model_specs.mdx (#453)
This commit is contained in:
@@ -294,6 +294,122 @@ Controls whether the model's icon appears in the header dropdown button, left of
|
||||
|
||||
---
|
||||
|
||||
### authType
|
||||
|
||||
<OptionTable
|
||||
options={[
|
||||
['authType', 'String', 'Authentication type required for the model spec.', 'Optional. Possible values: "override_auth", "user_provided", "system_defined"'],
|
||||
]}
|
||||
/>
|
||||
|
||||
**Description:**
|
||||
Authentication type required for the model spec. Determines whether authentication is overridden, provided by the user, or defined by the system.
|
||||
|
||||
---
|
||||
|
||||
### webSearch
|
||||
|
||||
<OptionTable
|
||||
options={[
|
||||
['webSearch', 'Boolean', 'Enables web search capability for this model spec.', 'When true, the model can perform web searches.'],
|
||||
]}
|
||||
/>
|
||||
|
||||
**Description:**
|
||||
Enables web search capability for this model spec. When set to `true`, the model can perform web searches to retrieve current information.
|
||||
|
||||
**Example:**
|
||||
```yaml filename="modelSpecs / webSearch"
|
||||
modelSpecs:
|
||||
list:
|
||||
- name: "research-assistant"
|
||||
label: "Research Assistant"
|
||||
webSearch: true
|
||||
preset:
|
||||
endpoint: "openAI"
|
||||
model: "gpt-4o"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### fileSearch
|
||||
|
||||
<OptionTable
|
||||
options={[
|
||||
['fileSearch', 'Boolean', 'Enables file search capability for this model spec.', 'When true, the model can search through uploaded files.'],
|
||||
]}
|
||||
/>
|
||||
|
||||
**Description:**
|
||||
Enables file search capability for this model spec. When set to `true`, the model can search through and reference uploaded files.
|
||||
|
||||
**Example:**
|
||||
```yaml filename="modelSpecs / fileSearch"
|
||||
modelSpecs:
|
||||
list:
|
||||
- name: "document-analyst"
|
||||
label: "Document Analyst"
|
||||
fileSearch: true
|
||||
preset:
|
||||
endpoint: "openAI"
|
||||
model: "gpt-4o"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### executeCode
|
||||
|
||||
<OptionTable
|
||||
options={[
|
||||
['executeCode', 'Boolean', 'Enables code execution capability for this model spec.', 'When true, the model can execute code.'],
|
||||
]}
|
||||
/>
|
||||
|
||||
**Description:**
|
||||
Enables code execution capability for this model spec. When set to `true`, the model can execute code in a sandboxed environment.
|
||||
|
||||
**Example:**
|
||||
```yaml filename="modelSpecs / executeCode"
|
||||
modelSpecs:
|
||||
list:
|
||||
- name: "code-assistant"
|
||||
label: "Code Assistant"
|
||||
executeCode: true
|
||||
preset:
|
||||
endpoint: "openAI"
|
||||
model: "gpt-4o"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### mcpServers
|
||||
|
||||
<OptionTable
|
||||
options={[
|
||||
['mcpServers', 'Array of Strings', 'List of Model Context Protocol (MCP) server names to enable for this model spec.', 'Each string should match a configured MCP server name.'],
|
||||
]}
|
||||
/>
|
||||
|
||||
**Description:**
|
||||
List of Model Context Protocol (MCP) server names to enable for this model spec. MCP servers extend the model's capabilities with custom tools and resources.
|
||||
|
||||
**Example:**
|
||||
```yaml filename="modelSpecs / mcpServers"
|
||||
modelSpecs:
|
||||
list:
|
||||
- name: "enhanced-assistant"
|
||||
label: "Enhanced Assistant"
|
||||
mcpServers:
|
||||
- "filesystem"
|
||||
- "sequential-thinking"
|
||||
- "fetch"
|
||||
preset:
|
||||
endpoint: "openAI"
|
||||
model: "gpt-4o"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### preset
|
||||
|
||||
<OptionTable
|
||||
|
||||
Reference in New Issue
Block a user