aboutsummaryrefslogtreecommitdiff
path: root/src/main.tsx
diff options
context:
space:
mode:
authorOmar Magdy <99906646+omagdy7@users.noreply.github.com>2024-02-14 17:22:40 +0200
committerGitHub <noreply@github.com>2024-02-14 17:22:40 +0200
commit4f1971020d43d0958973712212f17bd9d51a1834 (patch)
tree3099bc4223d9c39062b6f4d077809bccb88c8219 /src/main.tsx
parent842fcd159675c4091952277526844b1eebf6df18 (diff)
parentf07b00c527db2947f49d4ea592018902d391d55f (diff)
downloadollama-logseq-4f1971020d43d0958973712212f17bd9d51a1834.tar.xz
ollama-logseq-4f1971020d43d0958973712212f17bd9d51a1834.zip
Merge pull request #16 from gixita/master
feat: Add custom prompt defined in configuration to apply on block
Diffstat (limited to 'src/main.tsx')
-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 : "
+ },
]