mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
feat: map deliverable tools to artifact kinds
This commit is contained in:
parent
89c807030f
commit
a7829ca9b3
1 changed files with 10 additions and 0 deletions
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue