Search Documentation

Find and navigate to documentation pages and their content

Models

Codistry works with the model you choose: a built-in Anthropic or OpenAI model, or any OpenAI-compatible endpoint you point it at, including local models that never leave your machine. You manage all of this from Settings → Models.

Pick a provider first

Your provider determines which models are available. Set it with adronite-agent.modelProvider (anthropic, openai, or custom-openai), then choose the specific model.

Default model & switching per chat

The model you pick in Settings → Models (the adronite-agent.model setting) is the default model every new chat session starts with. Change it there and the next chat you open uses it.

Inside a chat, the model picker in the chat header switches the model for that session only. Codistry saves the choice with the session, so each chat remembers its own model and your settings-page default is left untouched for future chats.

Default vs. per-session

Changing the default in Settings affects new sessions only. It doesn't retroactively switch chats you've already started.

Built-in providers

Anthropic

Claude models: strong code understanding and precise instruction following.

OpenAI

GPT and o-series reasoning models, using your own API key.

Custom OpenAI

Any OpenAI-compatible endpoint: local models, corporate infra, or air-gapped setups.

Running a local model? The LM Studio and Ollama guides walk through setup end to end.

Adding a custom model

Choose Settings → Models → Add Custom Model to register any OpenAI-compatible endpoint. This is how you connect local runtimes (Ollama, LM Studio), a corporate gateway, or any provider that speaks the OpenAI API.

What you'll fill in

FieldRequiredWhat it's for
Display NameYesA friendly name shown in the model picker.
Model NameYesThe exact model id sent to the API (e.g. o3, llama3:latest).
API URLYesThe OpenAI-compatible endpoint (e.g. http://localhost:11434/v1).
Max TokensYesThe model's total context window.
Max Output TokensYesMost it may generate in a single reply.
DescriptionNoAn optional note to help you remember what it is.
API KeyNoAuth for this endpoint. Local servers usually need none.

Capabilities

Tick the boxes that match your model so Codistry talks to it correctly: Reasoning, Images, Temperature, and Streaming.

Tools are always on

There's no “supports tools” checkbox. Codistry requires tool calling to function, so any custom model must support it. Pick a model that does.

Reasoning & thinking format

When you mark a model as a reasoning model, an extra Reasoning/Thinking Format section appears. It tells Codistry how that model exposes its thinking so it can be displayed (and optionally stripped from the final answer). The sensible default, <think> tags, is filled in for you; only change it if your model differs.

Model familyFormat
QwQ / DeepSeek-R1XML Tags → tag name “think”
Cerebras QwenXML Tags → tag name “thinking”
OllamaMessage Field → field “thinking”
OpenRouter / DeepSeek APIDelta Field → field “reasoning_content”

Advanced settings

Tucked behind an Advanced Settings disclosure are two knobs most people never need:

Tool Format

Keep tools (modern OpenAI) unless your endpoint only understands the legacy functions format.

Sampling parameters

Optional overrides sent on every request to this model. Leave a field blank to use the server/model default.

Sampling parameters at a glance

ParameterTypicalNotes
temperature0.2 – 0.7Lower is more deterministic. 0.7 is sent when blank.
top_p0.95Nucleus sampling cutoff (0–1).
top_k40vLLM / llama.cpp extension; ignored elsewhere.
min_p0.05vLLM / llama.cpp extension; ignored elsewhere.
repetition_penalty1.05>1 discourages repetition (vLLM / llama.cpp).
frequency_penalty0.0OpenAI-style, −2 to 2.
presence_penalty0.0OpenAI-style, −2 to 2.

Unchecking the Temperature capability stops temperature from being sent at all, useful for models that reject it.