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

@@ -0,0 +1,16 @@
schema_version = 1
extends = "Ollama Base Chat"
name = "Ollama Quick Refactor"
description = "Local Ollama deterministic inline refactor (qwen2.5-coder). Static output rules from :/tasks/quick-refactor.md; QuickRefactorHandler injects the live editor context. No tools."
model = "qwen2.5-coder:7b"
enable_tools = false
tags = ["refactor", "ollama", "local"]
system_prompt = """{{ read_file(":/tasks/quick-refactor.md") }}"""
[body.options]
num_predict = 2048
temperature = 0.2
keep_alive = "5m"