Commit 0ff3401
committed
feat(web): Subagent Model Routing control backed by the policy endpoint
Settings wrote the legacy secondary_model section through POST /config
and could not show what actually applied.
- The Agent tab replaces the model picker + pin switch with a Subagent
Model Routing control: Inherit / Default / Pool / Force radios, a model
picker for Default and Force, a checklist with a default for Pool, and
an Effective routing card that shows the saved policy next to the
policy that currently applies (with a line when the secondary-model
feature is disabled).
- Reads and writes use GET/PUT/DELETE /config/subagent-model-policy with
If-Match on the last read version; a 412 adopts the server's current
state and surfaces the conflict instead of overwriting it.
- The HTTP client gains exchange() (extra request headers, response
headers, allowed envelope codes). dist-web rebuilt.1 parent a29ce84 commit 0ff3401
107 files changed
Lines changed: 943 additions & 479 deletions
File tree
- .changeset
- apps
- pythinker-code/dist-web
- assets
- pythinker-web
- src
- api
- daemon
- components/settings
- composables
- client
- i18n/locales/en
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments