Per-agent defaults for effort and generation parameters

Problem: The chat shows an effort level next to the model, and there is a parameters panel with an “All parameters” switch and, for each parameter, a switch between “Server default” and a custom value: temperature, top_p, top_k, repeat_penalty, presence_penalty, max_tokens and reasoning_budget. As far as I can tell these choices are stored per model (the docs say effort is), so every agent on one model shares them. I have not checked whether the other parameters are stored per model too.

A quick triage agent and a planning agent need different settings on the same model: low temperature and short output for one, more thinking budget and longer output for the other.

Idea: let each agent’s settings hold its own default for effort and for each of those parameters, with the same “Server default” or custom choice per parameter.

  • Apply the defaults to new chats, scheduled runs and delegated runs.
  • Include them in config export and apply.
  • Show the values used in the run record, so a run can be repeated.

Why: repeatable runs, less thinking time on simple jobs, and no need to retune one model each time a different agent uses it.

Not asking for: any change to the current per-model settings; the agent value would only be a default on top.

Actually, this is a great idea. We will consider it as part of the new settings refactoring

1 Like

I agree that we need to look at allowing an advanced level of customization when calling a resource like inference by agent or workflow. My use case is that in a multi-step agentic workflow, you may want the actor to apply a more advanced level of thinking for one step (such as extraction of data from an email) and then apply no thinking at all on a 0-temperature task using the same model at a different step in the process.

I’ve talked to @dealignai about this, and some parameters can be changed without causing a reload of the model. Even if it did, in some cases, that shouldn’t matter if the business case and/or step accuracy demands it.

We have to maintain a balance for the sake of simplicity.

For Agent Templates:

My recommendation here would be to allow users to pick between two options in Agent Settings when it comes to their Model Default:

Option 1: Simple Default UI: e.g. a single default model | reasoning | context | temperature

Option 2: Advanced Override: A place in the Agent settings where an advanced user can edit/paste a JSON/YAML template that contains one or more models and their default settings. This would contain: model name, priority, reasoning, context limit, temperature + any other advanced parameters like repeat penalty etc.

Why this approach?
My logic behind this approach is that Option 1 caters to consumers. Option 2 caters to creators and consultants who want to distribute an Agent Template that caters to several tested hardware configurations (and models) without having to create a new agent with settings for each model.

Import User Experience
The experience for a consumer who imports/installs a third party agent template would be very simple. If none of the specified models are detected it would warn on import. If any of the specified models are detected it imports and uses the highest priority model in their library.

Chat Experience
When the user selects the agent and starts a chat, we check for model resources, if the default resource specified in the JSON e.g. Model 1 is available, the call loads that model. If the user doesn’t have Model 1 installed, but they have Model 5 installed, the agent calls that Model by using the settings that were defined in the JSON override template. If none of the models specified in the advanced override exist, the default foundation model is used but it is highlighted to the user that they are not using one of the specified models for this agent.

cc: @tpae

1 Like

Version 1 of this feature is now in place so that you can fine tune model/generation settings at the Agent level. You can find it under Advanced Settings under your Agent’s: General > Configure screen.

1 Like

This is great!

I have been playing around with it today, building a harness to test models at different parameters to find optimised configs per workload.

I can’t seem to find a way to isolate the testing project from memories without disabling it globally though.