mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 09:18:00 +00:00
Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
f03c2d1c88
commit
a4c35fc2f2
44 files changed
+2615
-219
No files matched your search
@@ -57,6 +57,9 @@ DEPLOYED_USING_CONFIG_SERVER = false
|
||||
ASSISTANT = {
|
||||
["Title"] = "<Title of your assistant>",
|
||||
["Description"] = "<Description presented to the users, explaining your assistant>",
|
||||
["SystemPrompt"] = "<System prompt for the assistant>",
|
||||
["SubmitText"] = "<label for submit button>",
|
||||
["AllowProfiles"] = true,
|
||||
["UI"] = {
|
||||
["Type"] = "FORM",
|
||||
["Children"] = {}
|
||||
@@ -70,8 +73,6 @@ ASSISTANT = {
|
||||
["SystemPrompt"] = "<prompt that fundamentally changes behaviour, personality and task focus of your assistant. Invisible to the user>", -- required
|
||||
["SubmitText"] = "<label for submit button>", -- required
|
||||
["AllowProfiles"] = true, -- if true, allows AiStudios profiles; required
|
||||
["LaunchBehavior"] = "<NONE|OPEN_WORKSPACE_CHAT_BY_NAME>", -- optional; when set to OPEN_WORKSPACE_CHAT_BY_NAME the tile opens a chat directly
|
||||
["WorkspaceName"] = "<name of the workspace to open or create>", -- optional; required for OPEN_WORKSPACE_CHAT_BY_NAME
|
||||
["UI"] = {
|
||||
["Type"] = "FORM",
|
||||
["Children"] = {
|
||||
@@ -429,3 +430,17 @@ ASSISTANT = {
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
-- direct chat launcher example; form-only fields and UI are not used in this mode:
|
||||
ASSISTANT = {
|
||||
["Title"] = "<main title of chat launcher>",
|
||||
["Description"] = "<description of the chat that will be opened>",
|
||||
["LaunchBehavior"] = "OPEN_WORKSPACE_CHAT_BY_NAME",
|
||||
["WorkspaceName"] = "<name of the workspace to open or create>",
|
||||
["ProviderId"] = "<optional provider GUID; omit to use the chat default>",
|
||||
["ProfileId"] = "<optional profile GUID; use the empty GUID for no profile>",
|
||||
["ChatTemplateId"] = "<optional chat template GUID; use the empty GUID for no template>",
|
||||
["DataSourceIds"] = {
|
||||
"<optional data source GUID>",
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user