# Configure for llama.cpp

1. Open Qt Creator settings and navigate to the QodeAssist section
2. Go to General tab and configure:
   - Set "llama.cpp" as the provider for code completion or/and chat assistant
   - Set the llama.cpp URL (e.g. http://localhost:8080)
   - Fill in model name
   - Choose template for model(e.g. llama.cpp FIM for any model with FIM support)
   - Disable using tools if your model doesn't support tooling

<details>
  <summary>Example of llama.cpp settings: (click to expand)</summary>

<img width="829" alt="llama.cpp Settings" src="https://github.com/user-attachments/assets/8c75602c-60f3-49ed-a7a9-d3c972061ea2" />
</details>

