"use client"; // THE EXTRACTOR OF ONE SWEEP (release 28 F2): an API sweep reads its batches // with a cheap Claude model, `settings.generation.models.extractor` unless a // job names its own (`report-draft {extractorModel}`). Shown beside a sweep's // model when that model is Claude's; a choice equal to the policy's sends // nothing (the editor's default is the same model). const field = "rounded border border-[var(--color-line)] bg-[var(--color-ink)] px-1.5 py-0.5 text-[12px] text-[var(--color-text)]"; /** The body key for a sweep on `model`: `{extractorModel}` when it is not the policy's. */ export function extractorBody(model: string, extractor: string, policyExtractor: string | undefined): { extractorModel?: string } { return model.startsWith("claude-") && extractor && extractor !== policyExtractor ? { extractorModel: extractor } : {}; } export default function ExtractorSelect({ label, value, onChange, models, }: { label: string; value: string; onChange: (v: string) => void; /** Claude's models (an API sweep's extractor runs on the API). */ models: string[]; }) { return ( ); }