fix: hide browser use runtime mode

This commit is contained in:
Simos Mikelatos
2026-06-15 20:20:44 +00:00
parent 0426522406
commit e5c6e5e596
2 changed files with 0 additions and 9 deletions

View File

@@ -7,7 +7,6 @@ import { authenticatedFetch } from '../../../utils/api';
type BrowserUseStatus = {
enabled: boolean;
available: boolean;
runtime: 'cloud' | 'local';
playwrightInstalled: boolean;
chromiumInstalled: boolean;
installInProgress: boolean;
@@ -19,7 +18,6 @@ type BrowserUseStatus = {
type BrowserUseSession = {
id: string;
runtime: 'cloud' | 'local';
status: 'ready' | 'stopped' | 'unavailable';
url: string | null;
title: string | null;
@@ -147,11 +145,6 @@ export default function BrowserUsePanel({ isVisible }: BrowserUsePanelProps) {
<div className="flex items-center gap-2">
<MonitorPlay className="h-4 w-4 text-primary" />
<h3 className="text-sm font-semibold text-foreground">Browser Use</h3>
{status && (
<Badge variant="outline" className="text-[11px]">
{status.runtime}
</Badge>
)}
</div>
<p className="mt-0.5 text-xs text-muted-foreground">
Create browser sessions, watch agent activity, and decide which sessions agents may control.

View File

@@ -16,7 +16,6 @@ type BrowserUseSettings = {
type BrowserUseStatus = {
enabled: boolean;
available: boolean;
runtime: 'cloud' | 'local';
playwrightInstalled: boolean;
chromiumInstalled: boolean;
installInProgress: boolean;
@@ -137,7 +136,6 @@ export default function BrowserUseSettingsTab() {
</p>
{status && (
<div className="flex flex-wrap gap-2 pt-1 text-xs text-muted-foreground">
<span className="rounded-md border border-border px-2 py-1">Mode: {status.runtime}</span>
<span className="rounded-md border border-border px-2 py-1">
Playwright: {status.playwrightInstalled ? 'installed' : 'missing'}
</span>