Currently, with respect to prompts, the text field label is the same value as the name value, which is actually a variable, and therefore should be in camel case.
This doesn't look great when applied to a text field label.
Perhaps there should be another property called label, like:
export const prompts = {
"create-greeting": {
name: "create-greeting",
description: "Generate a customized greeting message",
arguments: [
{
name: "someVariableName",
label: "Some label name",
description: "Name of the person to greet",
required: true,
},
],
},
};
Here is the part of the type definition that needs to be changed, and clearly the AI agent needs to be informed, somehow?
|
export const PromptArgumentSchema = z |
Currently, with respect to prompts, the text field label is the same value as the name value, which is actually a variable, and therefore should be in camel case.
This doesn't look great when applied to a text field label.
Perhaps there should be another property called label, like:
Here is the part of the type definition that needs to be changed, and clearly the AI agent needs to be informed, somehow?
typescript-sdk/src/types.ts
Line 589 in 56b0427