import type { ReactNode } from "react"; import { sitePath, type DirectoryModel } from "@/lib/cookbook-pages"; export default function ModelHeader({ model, actions }: { model: DirectoryModel; actions?: ReactNode }) { return ( <> ← All recipes {model.provider} {model.title} {model.tags.join(" · ")} {!model.model.startsWith("./") && ( View on Hugging Face ↗ )} {actions} > ); }
{model.provider}
{model.tags.join(" · ")}