@ax-llm/ax 11.0.19 → 11.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -5282,7 +5282,7 @@ var renderOutputFields = (fields) => {
|
|
|
5282
5282
|
const rows = fields.map((field) => {
|
|
5283
5283
|
const name = field.title;
|
|
5284
5284
|
const type = field.type?.name ? toFieldType(field.type) : "string";
|
|
5285
|
-
const requiredMsg = field.isOptional ? `Only include this ${type} field
|
|
5285
|
+
const requiredMsg = field.isOptional ? `Only include this ${type} field if its value is available` : `This ${type} field must be included`;
|
|
5286
5286
|
const description = field.description ? ` ${formatDescription(field.description)}` : "";
|
|
5287
5287
|
return `${name}: (${requiredMsg})${description}`.trim();
|
|
5288
5288
|
});
|