Issue: AI respect limits of fields when auto generate test for description, title, etc. #669

Closed
opened 2026-10-05 02:59:40 +02:00 by adam · 2 comments
Owner

Describe the bug
When i use AI to generate a description in the meta-data is generates a very long text that is longer then allowed/recommended

To Reproduce
Steps to reproduce the behavior:

  1. Go to post
  2. Click on Copilot icon at description
  3. See error

Expected behavior
respect the field limit when generating a text with AI

Screenshots
image

Device:

  • OS: [e.g. iOS] Windows
  • Front Matter CMS Version [e.g. 10.2.0] latest
  • Browser [e.g. chrome, safari] Edge

Additional context
Add any other context about the problem here.

**Describe the bug** When i use AI to generate a description in the meta-data is generates a very long text that is longer then allowed/recommended **To Reproduce** Steps to reproduce the behavior: 1. Go to post 2. Click on Copilot icon at description 3. See error **Expected behavior** respect the field limit when generating a text with AI **Screenshots** ![image](https://github.com/user-attachments/assets/3fd3c018-e387-4db0-9571-320b6cdd008b) **Device:** - OS: [e.g. iOS] Windows - Front Matter CMS Version [e.g. 10.2.0] latest - Browser [e.g. chrome, safari] Edge **Additional context** Add any other context about the problem here. <!-- github-sync-id:2525289703 -->
adam closed this issue 2026-10-05 02:59:40 +02:00
Author
Owner

The title and description fields limit can be set with the corresponding frontMatter.taxonomy.seoTitleLength and frontMatter.taxonomy.seoDescriptionLength settings.

These settings are also used for generating the tilte(s) and description.

Source: https://github.com/estruyf/vscode-front-matter/blob/d240e8fdc867589af8b4a0e2c3fe04f2d5e1ee65/src/services/Copilot.ts

AI could in some cases generate longer titles/descriptions. It is best to verify what is provided by AI.

The `title` and `description` fields limit can be set with the corresponding `frontMatter.taxonomy.seoTitleLength` and `frontMatter.taxonomy.seoDescriptionLength` settings. These settings are also used for generating the tilte(s) and description. Source: https://github.com/estruyf/vscode-front-matter/blob/d240e8fdc867589af8b4a0e2c3fe04f2d5e1ee65/src/services/Copilot.ts AI could in some cases generate longer titles/descriptions. It is best to verify what is provided by AI. <!-- github-comment-id:2350057130 -->
Author
Owner

Closing the issue as the instructions are provided in the AI prompt.

Closing the issue as the instructions are provided in the AI prompt. <!-- github-comment-id:2441890456 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#669