We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8edb60 commit 1813d38Copy full SHA for 1813d38
1 file changed
src/specify_cli/agents.py
@@ -210,14 +210,7 @@ def render_toml_command(
210
toml_lines.append(body)
211
toml_lines.append("'''")
212
else:
213
- escaped_body = (
214
- body.replace("\\", "\\\\")
215
- .replace('"', '\\"')
216
- .replace("\n", "\\n")
217
- .replace("\r", "\\r")
218
- .replace("\t", "\\t")
219
- )
220
- toml_lines.append(f'prompt = "{escaped_body}"')
+ toml_lines.append(f"prompt = {self._render_basic_toml_string(body)}")
221
222
return "\n".join(toml_lines)
223
0 commit comments