From 3f98dd300a7e56c7ef15cda95672a976ee8e7618 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 23 Apr 2025 22:02:16 +0530 Subject: [PATCH] add the example in autocomplete --- docs/docs/customize/model-roles/autocomplete.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/customize/model-roles/autocomplete.md b/docs/docs/customize/model-roles/autocomplete.md index 194656ab0..29a933f98 100644 --- a/docs/docs/customize/model-roles/autocomplete.md +++ b/docs/docs/customize/model-roles/autocomplete.md @@ -32,4 +32,10 @@ models: - name: My Custom Autocomplete Template provider: ollama model: qwen2.5-coder:1.5b + promptTemplates: + autocomplete: | + ` + globalThis.importantFunc = importantFunc + <|fim_prefix|>{{{prefix}}}<|fim_suffix|>{{{suffix}}}<|fim_middle|> + ` ``` \ No newline at end of file