mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 18:32:12 +00:00
documented the new lua constant DEPLOYED_USING_CONFIG_SERVER
This commit is contained in:
parent
2ff8a878bd
commit
9d5322dd1b
@ -81,6 +81,7 @@ Each assistant plugin lives in its own directory under the assistants plugin roo
|
||||
|
||||
## Structure
|
||||
- `ASSISTANT` is the root table. It must contain `Title`, `Description`, `SystemPrompt`, `SubmitText`, `AllowProfiles`, and the nested `UI` definition.
|
||||
- `DEPLOYED_USING_CONFIG_SERVER` identifies who manages the assistant plugin. Set it to `false` for locally managed plugins. A missing field is also treated as local for compatibility with existing plugins. Enterprise-distributed plugins must set it to `true` and cannot be revised with AI in AI Studio.
|
||||
- `ASSISTANT` may optionally define direct-launch metadata for assistant tiles:
|
||||
- `LaunchBehavior = "OPEN_WORKSPACE_CHAT_BY_NAME"`
|
||||
- `WorkspaceName = "<target workspace name>"`
|
||||
@ -89,6 +90,8 @@ Each assistant plugin lives in its own directory under the assistants plugin roo
|
||||
|
||||
### Example: Minimal Requirements Assistant Table
|
||||
```lua
|
||||
DEPLOYED_USING_CONFIG_SERVER = false
|
||||
|
||||
ASSISTANT = {
|
||||
["Title"] = "",
|
||||
["Description"] = "",
|
||||
|
||||
@ -10,6 +10,8 @@ CATEGORIES = {"CORE"}
|
||||
TARGET_GROUPS = {"EVERYONE"}
|
||||
IS_MAINTAINED = true
|
||||
DEPRECATION_MESSAGE = ""
|
||||
-- This example is locally managed and can therefore be revised with AI.
|
||||
DEPLOYED_USING_CONFIG_SERVER = false
|
||||
|
||||
ASSISTANT = {
|
||||
["Title"] = "Translation",
|
||||
|
||||
@ -46,6 +46,9 @@ IS_MAINTAINED = true
|
||||
-- When the plugin is deprecated, this message will be shown to users:
|
||||
DEPRECATION_MESSAGE = ""
|
||||
|
||||
-- Enterprise-managed assistants cannot be revised with AI. Keep false for locally managed plugins:
|
||||
DEPLOYED_USING_CONFIG_SERVER = false
|
||||
|
||||
ASSISTANT = {
|
||||
["Title"] = "<Title of your assistant>",
|
||||
["Description"] = "<Description presented to the users, explaining your assistant>",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user