neurocode_repair_ollama
Repairs repository bugs in a single turn by sending a knapsack-sliced code context prompt to a local Ollama model, optionally writing the generated patch to disk.
Instructions
Perform single-turn bug repair by sending a knapsack-sliced prompt to a local Ollama model instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Whether to write the patch to disk | |
| issue | Yes | Bug description or traceback | |
| model | No | Ollama model name (e.g. 'qwen2.5-coder:14b', 'qwen2.5-coder:7b') | qwen2.5-coder:7b |
| repo_path | Yes | Path to repository root | |
| ollama_url | No | Ollama server URL | http://localhost:11434 |