Remove \r so that exported agents have literal block scalar

Created on 11 July 2025, 3 days ago

Problem/Motivation

Currently the exported agents puts the entire system prompt on one row - this is horrible for doing diffing, which means when multiple people works on an agent you will have massive merge conflicts.

Core supports literal block scalars ✨ Export configuration YAML strings as multiline Fixed , but it normalizes newlines with \r in it β†’ causing this to fail.

Steps to reproduce

Export an agent with multiple rows.

Proposed resolution

Manually remove the \r when the config is being saved.

πŸ“Œ Task
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024