diff options
| author | gixita <kris.laermans@gmail.com> | 2024-02-08 17:12:12 +0100 |
|---|---|---|
| committer | gixita <kris.laermans@gmail.com> | 2024-02-08 17:12:12 +0100 |
| commit | fc1d6985c9eb0c31b8ea05244e4a270d9ec8ffaa (patch) | |
| tree | c3947541c4888bdd9c3c9bfa9efdbcdbb10370e0 /src/App.tsx | |
| parent | 842fcd159675c4091952277526844b1eebf6df18 (diff) | |
| download | ollama-logseq-fc1d6985c9eb0c31b8ea05244e4a270d9ec8ffaa.tar.xz ollama-logseq-fc1d6985c9eb0c31b8ea05244e4a270d9ec8ffaa.zip | |
feat: Add custom prompt functionality to block
This commit introduces the capability for users to apply custom prompts defined in the configuration to a block. Key changes include:
- A new configuration string to store the custom prompt.
- A menu item 'Custom prompt on block'.
- Implementation of a function to apply the custom prompt to a block, mirroring the existing 'summarize block' functionality.
Diffstat (limited to 'src/App.tsx')
| -rw-r--r-- | src/App.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.tsx b/src/App.tsx index 0a32968..0fb9984 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -15,6 +15,7 @@ const options = [ 'Divide into subtasks', 'Summarize', 'Summarize Block', + 'Custom prompt on block', 'Convert to flash card', ]; |
