Give workspace computers to attached bots in their own chat
A computer linked to a workspace now shows in the composer (and is usable by tasks and replies) when chatting with any bot attached to that workspace, not only in the workspace conversation. Members see those computers through their assigned workers too, and assign_computer still describes direct grants only.
This commit is contained in:
@@ -127,7 +127,10 @@ export default async function grabBotChatTools({
|
||||
await Promise.all(
|
||||
workers.map(async (worker) => [
|
||||
worker.id || 0,
|
||||
await grabBotComputers({ bot_id: worker.id || 0 }),
|
||||
await grabBotComputers({
|
||||
bot_id: worker.id || 0,
|
||||
include_workspace_computers: false,
|
||||
}),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user