Skip to content

UI recipe saving fails if invalid yaml in instructions or other fields #5508

@zanesq

Description

@zanesq

Describe the bug

If you save recipe details from the UI with invalid yaml it fails with syntax error.

  • No colons in the middle of lines (which can be interpreted as YAML)
  • No special characters like {}, #, ---
  • No complex formatting
  • Simplified language while keeping all the essential instructions

Expected behavior
Should allow saving anything and make it work in the yaml file

Screenshots

Image

Please provide following information:

  • OS & Arch: Mac Arm
  • Interface: UI
  • Version: v1.12.1
  • Extensions enabled: Developer
  • Provider & Model: Claude

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

p2Priority 2 - Medium

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions