aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgixita <kris.laermans@gmail.com>2024-02-10 15:11:39 +0100
committergixita <kris.laermans@gmail.com>2024-02-10 15:11:39 +0100
commitf07b00c527db2947f49d4ea592018902d391d55f (patch)
tree3099bc4223d9c39062b6f4d077809bccb88c8219 /src
parent6d503bb5e78c56c206f68e8533e73189915efff2 (diff)
downloadollama-logseq-f07b00c527db2947f49d4ea592018902d391d55f.tar.xz
ollama-logseq-f07b00c527db2947f49d4ea592018902d391d55f.zip
Add a custom prompt configuration field in the plugin settings
Diffstat (limited to 'src')
-rw-r--r--src/main.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.tsx b/src/main.tsx
index a78d85d..a544760 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -36,6 +36,13 @@ let settings: SettingSchemaDesc[] = [
description: "Shortcut to open plugin command pallete",
default: "mod+shift+o"
},
+ {
+ key: "custom_prompt_block",
+ type: "string",
+ title: "Custom prompt block",
+ description: "Define your custom prompt and use a block as context",
+ default: "Translate in French : "
+ },
]