mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-07-03 11:39:13 -04:00
836 B
836 B
Configure for llama.cpp
- Start
llama-serverlocally (default http://localhost:8080) - Open Qt Creator settings and navigate to QodeAssist > Providers
- Select the bundled llama.cpp provider and adjust the URL if your server runs elsewhere (no API key needed)
- Go to QodeAssist > General > Agent Pipelines and assign llama.cpp agents to the features you want:
- Code completion: LlamaCpp Completion — FIM (needs a FIM-capable model)
- Chat assistant: LlamaCpp Chat
- Chat compression: LlamaCpp Compression
- Quick refactor: LlamaCpp Quick Refactor
To change the model or request parameters, duplicate the bundled agent on the
QodeAssist > Agents page (it extends the llama.cpp base agent) and edit your
copy. Disable enable_tools in your agent if the model doesn't support tool calling.