diff --git a/packages/core/src/prompty.ts b/packages/core/src/prompty.ts index f2464f398..48ee6c47f 100644 --- a/packages/core/src/prompty.ts +++ b/packages/core/src/prompty.ts @@ -62,7 +62,7 @@ function promptyFrontmatterToMeta(frontmatter: PromptyFrontmatter): PromptArgs { const { name, description, - tags, + tags = [], sample, inputs, outputs, @@ -109,14 +109,14 @@ function promptyFrontmatterToMeta(frontmatter: PromptyFrontmatter): PromptArgs { modelName = `azure_serverless:${configuration.azure_endpoint}` } else if (configuration?.type === "openai") modelName = `openai:${configuration.type}` - + const unlisted = tags.includes("unlisted") const meta = deleteUndefinedValues({ model: modelName, title: name, description, files, tests, - //tags, + unlisted, parameters, responseType: outputs ? "json_object"