ZIm/assets
Michael Sloan 502a0f6535
agent: Use default prompts from prompt library in system prompt (#28915)
Related to #28490.

- Default prompts from the prompt library are now included as "user
rules" in the system prompt.
- Presence of these user rules is shown at the beginning of the thread
in the UI.
_ Now uses an `Entity<PromptStore>` instead of an `Arc<PromptStore>`.
Motivation for this is emitting a `PromptsUpdatedEvent`.
- Now disallows concurrent reloading of the system prompt. Before this
change it was possible for reloads to race.

Release Notes:

- agent: Added support for including default prompts from the Prompt
Library as "user rules" in the system prompt.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2025-04-18 09:32:35 -06:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons agent: Refine language model selector (#28597) 2025-04-11 23:02:50 +00:00
images add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
keymaps vim: Add ctrl-^ (#28648) 2025-04-17 17:54:18 -04:00
prompts agent: Use default prompts from prompt library in system prompt (#28915) 2025-04-18 09:32:35 -06:00
settings agent: Add websearch tool (#28621) 2025-04-16 19:25:00 +02:00
sounds Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
themes theme: Make Gruvbox terminal ANSI magenta more vibrant (#27166) 2025-04-07 18:25:24 +00:00