Skip to content

Commit 91b1311

Browse files
committed
feat(web): redesign the Providers settings panel
Show each provider's config form first, collapse the model table into a toggle with a count, and put a red delete icon next to every provider row instead of a button at the bottom of the page. Also fix two causes of the form showing stale or empty data: the edit form is now keyed by provider id so switching providers re-seeds it, and it re-reads the config when that request resolves after mount. Model rows fall back to the catalog (with real context sizes) when the config section has no entries for the provider.
1 parent 6c8f668 commit 91b1311

100 files changed

Lines changed: 452 additions & 418 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+
Redesign the Providers settings: each provider shows its own config first with models in a collapsible section, and a delete icon sits next to every provider.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "b4e1d71e0d61f64d0e2e3912d98a78ef4aa51b98b2885e614081ae9e47c77e34",
2+
"sourceHash": "ec0a2f164d8ce7b1beae37abae45b2de37e96de5c4f7b54e460eb1fc77996537",
33
"sourceFileCount": 422
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-DurPx7zc.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-BEWBjffx.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-Cp27_JXa.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-DpIR-8qH.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-BPZnuv72.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-BESdymXf.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-BcDooclE.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-pY3uSi_B.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-Dp3OEXOM.js renamed to apps/pythinker-code/dist-web/assets/arc-ab4Mfd8H.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-CVqAeOHq.js renamed to apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-x7zK_pWW.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)