fix: Move Quick Refactor agent to toml file

This commit is contained in:
Petr Mironychev
2026-06-29 00:27:01 +02:00
parent 755263c4de
commit e200278f9a
11 changed files with 120 additions and 48 deletions

View File

@@ -16,8 +16,18 @@ file_patterns = ["*.qml"]
prompt = """{{ tojson("<SUF>" + ctx.suffix + "<PRE>" + ctx.prefix + "<MID>") }}"""
[body.options]
temperature = 0
top_p = 1
temperature = 0
top_p = 1
repeat_penalty = 1.05
num_predict = 500
stop = ["<SUF>", "<PRE>", "</PRE>", "</SUF>", "< EOT >", "\\end", "<MID>", "</MID>", "##"]
num_predict = 500
stop = [
"<SUF>",
"<PRE>",
"</PRE>",
"</SUF>",
"< EOT >",
"\\end",
"<MID>",
"</MID>",
"##",
]