/** * Re-exports from the Anthropic provider for backwards compatibility. * @deprecated Import directly from @/lib/analysis/providers/anthropic instead. */ export type { AnalysisInput } from "@/lib/analysis/providers"; export { anthropicProvider as default } from "@/lib/analysis/providers/anthropic"; // Legacy named export for any remaining callers import { anthropicProvider } from "@/lib/analysis/providers/anthropic"; import type { AnalysisInput } from "@/lib/analysis/providers"; export async function generateCTPWithAI(input: AnalysisInput & { contributedBy?: string }) { return anthropicProvider.generateCTP({ ...input, contributed_by: input.contributed_by ?? input.contributedBy ?? "anonymous", }); }