Let crew managers edit a bot's workspace instructions where they work with it
A bot's instructions and memory for one workspace were only reachable
from the workspace's settings. The editor is now shared and also opens
from the conversation menu in that workspace ("Instructions here",
loaded on open through api/admin/workspaces/workspace-bot) and from the
workspace rows on the bot's settings page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -206,6 +206,15 @@ export type WorkspaceBot = BotWithLastMessage & {
|
||||
workspace_memory?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A bot's instructions and memory for one workspace, as its editor loads
|
||||
* them (`api/admin/workspaces/workspace-bot`).
|
||||
*/
|
||||
export type WorkspaceBotInstructions = {
|
||||
system_prompt: string;
|
||||
memory: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* A workspace a bot works in, with what the bot has for that workspace
|
||||
* alone.
|
||||
|
||||
Reference in New Issue
Block a user