@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.js CHANGED
@@ -5180,7 +5180,7 @@ var renderOutputFields = (fields) => {
5180
5180
  const rows = fields.map((field) => {
5181
5181
  const name = field.title;
5182
5182
  const type = field.type?.name ? toFieldType(field.type) : "string";
5183
- const requiredMsg = field.isOptional ? `Only include this ${type} field is it's value is available` : `This ${type} field must be included`;
5183
+ const requiredMsg = field.isOptional ? `Only include this ${type} field if its value is available` : `This ${type} field must be included`;
5184
5184
  const description = field.description ? ` ${formatDescription(field.description)}` : "";
5185
5185
  return `${name}: (${requiredMsg})${description}`.trim();
5186
5186
  });