Skip to content

Commit 0ff3401

Browse files
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": minor
3+
---
4+
5+
Settings gains a Subagent Model Routing control with Inherit, Default, Pool, and Force modes and shows the saved policy next to the routing that currently applies.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "77096a8be7b91371d5d06d72292db9096968bd42e7b38e95f4adc9977e0cc6b1",
2+
"sourceHash": "0fe4e070c0c5f5221f37b65b0abde459632df68d21f31624b441400ed46e1e47",
33
"sourceFileCount": 405
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-h4Iestjw.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-DJenYxqB.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-CRzg2rrt.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-C9t8oLLM.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/Tooltip-16Uv_cL2.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-DlyFNPM2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-B1XzT0S1.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-exmDzvPg.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/arc-BBsWXoCm.js renamed to apps/pythinker-code/dist-web/assets/arc-C3d1e9Va.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-DGzYI25M.js renamed to apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-D_9AiEPW.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)