Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add blueprint creation functionality #253

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

s-kostyaev
Copy link
Owner

Added custom variable ellama-blueprints to store user-defined blueprints. Created functions ellama-create-blueprint and ellama-new-blueprint for creating and managing blueprints, respectively. These changes allow users to define and save blueprints from current buffers.

Relates to #240

Added custom variable `ellama-blueprints` to store user-defined blueprints.
Created functions `ellama-create-blueprint` and `ellama-new-blueprint` for
creating and managing blueprints, respectively. These changes allow users to
define and save blueprints from current buffers.

Relates to #240
Added a new command `ellama-create-blueprint` and its corresponding keybinding
"C-c c" in the local keymap for Ellama blueprint mode buffers. Updated the
header line format to include this new command.
Corrected the spelling of `ellama-community-prompts-blurpint-buffer` to
`ellama-community-prompts-blueprint-buffer`.
Updated ellama-blueprint-mode to derive from text-mode instead of nil for better
editing support.
- Moved variable-related
functions (`ellama-community-prompts-get-variable-list`,
`ellama-community-prompts-set-variable`, and
`ellama-community-prompts-update-variables`) from `ellama-community-prompts.el`
to `ellama.el`. Renamed these functions to use the prefix `ellama-blueprint-`
for consistency. Updated the keybinding in `ellama-mode-map` to include a new
command `C-c v` for filling blueprint variables. Modified the
`header-line-format` to include documentation for the new `C-c v` command. Added
font-locking for variable placeholders in blueprint mode.
@tusharhero
Copy link

I will test it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants