(agentsEnabled = experimentalAgentsEnabled)
| 73 | }; |
| 74 | |
| 75 | export function availableWorkspaces(agentsEnabled = experimentalAgentsEnabled) { |
| 76 | return workspaceStrings.workspaces.filter(workspace => agentsEnabled || workspace.id !== 'agents'); |
| 77 | } |
| 78 | |
| 79 | export function allowedWorkspace(workspace: Workspace, agentsEnabled = experimentalAgentsEnabled): Workspace { |
| 80 | return workspace === 'agents' && !agentsEnabled ? 'explore' : workspace; |
no outgoing calls
no test coverage detected