-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📘 docs: Add Actions Object Structure and update Agents configuration (#…
- Loading branch information
1 parent
c67e4ac
commit 803ff0b
Showing
6 changed files
with
78 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
- Added [Agents](/docs/features/agents) related configurations: | ||
- [Interface-level toggle for Agents](/docs/configuration/librechat_yaml/object_structure/interface#agents), enabling/disabling Agents for all users | ||
- [Agent Endpoint-level configuration](/docs/configuration/librechat_yaml/object_structure/agents) for Agent options and capabilities | ||
- [Actions Object Structure](/docs/configuration/librechat_yaml/object_structure/actions) for specifying allowed domains for agent/assistant actions |
35 changes: 35 additions & 0 deletions
35
pages/docs/configuration/librechat_yaml/object_structure/actions.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Actions Object Structure | ||
|
||
Actions can be used to dynamically create tools from OpenAPI specs. The `actions` object structure allows you to specify allowed domains for agent/assistant actions. | ||
|
||
More info: [Agents - Actions](/docs/features/agents#actions) | ||
|
||
## Example | ||
|
||
```yaml filename="Actions Object Structure" | ||
# Example Actions Object Structure | ||
actions: | ||
allowedDomains: | ||
- "swapi.dev" | ||
- "librechat.ai" | ||
- "google.com" | ||
``` | ||
## allowedDomains | ||
**Key:** | ||
<OptionTable | ||
options={[ | ||
['allowedDomains', 'Array of Strings', 'A list specifying allowed domains for agent/assistant actions.', 'Actions with domains not listed will be restricted from executing.'], | ||
]} | ||
/> | ||
**Required** | ||
**Example:** | ||
```yaml filename="actions / allowedDomains" | ||
allowedDomains: | ||
- "swapi.dev" | ||
- "librechat.ai" | ||
- "google.com" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.