neurocode_repair_ollama
Repair bugs by sending a context-sliced prompt to a local Ollama model, then optionally apply the generated patch to the repository.
Instructions
Perform single-turn bug repair by sending a knapsack-sliced prompt to a local Ollama model instance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issue": "<issue>"
},
"name": "neurocode_repair_ollama"
}
}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 | No | Path to repository root | . |
| ollama_url | No | Ollama server URL | http://localhost:11434 |