Files
oak-gpui/crates
Nate Butler 800c1ba916 Rework prompt frontmatter (#12262)
Moved some things around so prompts now always have front-matter to
return, either by creating a prompt with default front-matter, or
bailing earlier on importing the prompt to the library.

In the future we'll improve visibility of malformed prompts in the
`prompts` folder in the prompt manager UI.

Fixes:

- Prompts inserted with the `/prompt` command now only include their
body, not the entire file including metadata.
- Prompts with an invalid title will now show "Untitled prompt" instead
of an empty line.

Release Notes:

- N/A
2024-05-24 19:15:02 -04:00
..
2024-05-10 15:50:20 -06:00
2024-05-23 15:50:59 +02:00
…
2024-05-23 15:50:59 +02:00
2024-05-22 14:36:15 +03:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
…
2024-05-23 15:50:59 +02:00
2024-05-23 15:50:59 +02:00
2024-05-22 14:36:15 +03:00
2024-05-23 15:50:59 +02:00
2024-05-23 15:50:59 +02:00