feat: map deliverable tools to artifact kinds

This commit is contained in:
CREDO23 2026-06-22 22:33:21 +02:00
parent 89c807030f
commit a7829ca9b3

View file

@ -21,3 +21,13 @@ export interface ChatArtifact {
/** Report panel content type — "typst" for resumes, "markdown" otherwise. */
contentType: "markdown" | "typst";
}
/** Maps deliverable tool names to artifact kinds. Mirrors the body tools in assistant-message. */
export const ARTIFACT_TOOL_KINDS: Record<string, ArtifactKind> = {
generate_report: "report",
generate_resume: "resume",
generate_podcast: "podcast",
generate_video_presentation: "video",
generate_image: "image",
display_image: "image",
};