- Add core settings schema/types support for testMode with model-resolution override handling - Enforce engine session lane overrides in test mode with targeted helper coverage - Add dashboard settings toggle plus persistent test-mode banner and related component tests - Update settings documentation and parity/roundtrip tests for the new test mode behavior
20 lines
435 B
TypeScript
20 lines
435 B
TypeScript
import { FlaskConical } from "lucide-react";
|
|
import "./TestModeBanner.css";
|
|
|
|
interface TestModeBannerProps {
|
|
isActive: boolean;
|
|
}
|
|
|
|
export function TestModeBanner({ isActive }: TestModeBannerProps) {
|
|
if (!isActive) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<div className="test-mode-banner" role="status" aria-live="polite">
|
|
<FlaskConical aria-hidden="true" />
|
|
<span>Test mode — no real AI calls</span>
|
|
</div>
|
|
);
|
|
}
|