CI / check (push) Canceled after 0s
The server answers /models?kind=agent&device= (e888bc2, models_agent.json)
with `agent_subagents {offered, device_runs}`. A new agent chat reads it
for the device chosen (again when another is chosen) and shows the
Subagents setting exactly when it is offered; when the device's CLI does
not run subagents (`device_runs` false) the server's sentence says so
beside it. An older server says nothing and the setting stays hidden.
Strings at the same ref: every translatable string is translated in all
eight languages -- "Open slots" from the server's catalogue, the row's
"% context" from strings_own.json (the server words it as a sentence),
and `progress_line` (text · elapsed, symbols only) is no longer counted
as translatable.
ContractTest (models_agent.json), ChatStateTest, shot 07-tune-new-agent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
82 lines
1.5 KiB
JSON
82 lines
1.5 KiB
JSON
{
|
|
"models": [
|
|
{
|
|
"id": "qwen",
|
|
"name": "Qwen",
|
|
"vision": false,
|
|
"tools": true,
|
|
"efforts": [
|
|
"medium"
|
|
],
|
|
"thinking_switch": true,
|
|
"levels": [
|
|
"off",
|
|
"medium"
|
|
],
|
|
"effort": "medium",
|
|
"control": "switch",
|
|
"parallel": 2,
|
|
"context": 131072,
|
|
"image": "/api/v2/models/images/0a1b2c3d4e5f.png",
|
|
"default": true,
|
|
"subagents": {
|
|
"offered": true,
|
|
"named_only": false
|
|
}
|
|
},
|
|
{
|
|
"id": "gpt-oss",
|
|
"name": "gpt-oss",
|
|
"vision": false,
|
|
"tools": true,
|
|
"efforts": [
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"thinking_switch": false,
|
|
"levels": [
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"effort": "high",
|
|
"control": "slider",
|
|
"parallel": 1,
|
|
"context": 0,
|
|
"image": null,
|
|
"default": false,
|
|
"subagents": {
|
|
"offered": true,
|
|
"named_only": false
|
|
}
|
|
},
|
|
{
|
|
"id": "vision-small",
|
|
"name": "Vision",
|
|
"vision": true,
|
|
"tools": false,
|
|
"efforts": [],
|
|
"thinking_switch": false,
|
|
"levels": [
|
|
"default"
|
|
],
|
|
"effort": "default",
|
|
"control": "none",
|
|
"parallel": null,
|
|
"context": 8192,
|
|
"image": null,
|
|
"default": false,
|
|
"subagents": {
|
|
"offered": true,
|
|
"named_only": false
|
|
}
|
|
}
|
|
],
|
|
"subagents_cap": 32,
|
|
"agent_subagents": {
|
|
"offered": true,
|
|
"device_runs": true
|
|
}
|
|
}
|