Area#
apps/server
Summary#
Threads created by an agent (through the T3 MCP tools, e.g. t3_thread_launch / create_threads) do not inherit the app's default model selection (defaultModelSelection in settings). When the agent passes no effort, the new thread records no effort and shows Medium, even when the app default says high. Threads opened by hand in the app get the default correctly.
Cause (as read from the server's selection order)#
The server picks the model selection for a new thread in this order:
- the model selection passed by the agent;
- the model selection of the calling thread;
- the app default (
defaultModelSelection).
An agent-created thread almost always gets step 1 or 2, so step 3 is never reached. When the selection from step 1 or 2 has no effort option, nothing fills it in from the app default, and the provider falls back to its catalog default (Medium).
Steps to reproduce#
- In settings, set the default model selection to a Claude model with effort high.
- Open a new thread by hand: it starts at High (expected).
- From an agent in another thread, create a thread through the T3 MCP tools, passing a model but no
effort option (or no model selection at all).
- Open the new thread: the effort shows Medium, and the thread's stored model selection has no
effort.
Expected behavior#
Agent-created threads use the app default like threads opened by hand. At minimum, when the selection used has no effort, the server fills in the effort from the app default and records it on the thread.
Related#
#16406 (closed) covered the composer/runtime mismatch for a launch without options; this issue is about the default itself not being applied to agent-created threads.