- Multi-provider AI analysis (Anthropic, OpenAI, Ollama, Algorithmic) - server-only guards on all provider files; client bundle fix - /settings page with provider status, Ollama model picker, preferences - Song search box on /analyze replacing raw MBID input (debounced, keyboard nav) - Auto-register song via MusicBrainz on POST /api/tracks (no more 404) - Fix WAV duration bug: last section songEnd was double-counting elapsed time - Registry sync comment updated for self-hosted HTTPS git servers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
727 B
TypeScript
18 lines
727 B
TypeScript
/**
|
|
* 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",
|
|
});
|
|
}
|