mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-07-07 21:49:24 -04:00
fix: Move Quick Refactor agent to toml file
This commit is contained in:
16
sources/agents/ollama_quick_refactor.toml
Normal file
16
sources/agents/ollama_quick_refactor.toml
Normal 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"
|
||||
Reference in New Issue
Block a user