Title: fix(chat): label simple effort options with the effort they send by waleedlatif1 · Pull Request #8619 · simstudioai/sim · GitHub
Open Graph Title: fix(chat): label simple effort options with the effort they send by waleedlatif1 · Pull Request #8619 · simstudioai/sim
X Title: fix(chat): label simple effort options with the effort they send by waleedlatif1 · Pull Request #8619 · simstudioai/sim
Description: Summary The simple Chat effort picker (shown when the advanced model selector is off) labeled each effort one step lower than the effort it sends: Sends Old label New label medium Low Medium high (default) Medium High xhigh High Extra High This is a label-only change: zero behaviour change, and the default still sends high. A user who never touched the setting sends exactly what they sent before; the picker now reads "High" instead of "Medium". Design MOTHERSHIP_SIMPLE_EFFORT_OPTIONS is now derived by filtering MOTHERSHIP_EFFORT_OPTIONS to medium, high and xhigh, so the simple picker uses the same label for an effort as the advanced picker and the Sim Chat block. The two lists can no longer drift apart. Compatibility Every consumer was checked: model-selector.tsx (Chat composer): the only reader of MOTHERSHIP_SIMPLE_EFFORT_OPTIONS. It renders option.label and sends option.value; the values are unchanged. resolveMothershipModelSettings: untouched. It still defaults to high and still clamps low→medium and max→xhigh when the simple picker is shown. Persisted preference (stores/mothership-effort): stores the effort value, never the label, so saved selections are unaffected. Sim Chat block (blocks/blocks/mothership.ts): uses MOTHERSHIP_EFFORT_OPTIONS, which already labeled each effort honestly. Unchanged. Docs and tests: no page or test refers to the simple picker's labels. Test plan stores/mothership-effort and composer tests pass bun run lint, bun run type-check, bun run check:audits, bun run docs-manifest:check, block-registry check against origin/staging bun run test via CI (Lint and Test, PostgreSQL integration, end-to-end): green. Locally the suite only timed out under unrelated machine load
Open Graph Description: Summary The simple Chat effort picker (shown when the advanced model selector is off) labeled each effort one step lower than the effort it sends: Sends Old label New label medium Low Medium...
X Description: Summary The simple Chat effort picker (shown when the advanced model selector is off) labeled each effort one step lower than the effort it sends: Sends Old label New label medium Low Medium...
Opengraph URL: https://github.com/simstudioai/sim/pull/8619
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e47c8319-71ea-f3b0-7b45-aa117f402716 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E40:11E6AB:21A018:2FE5C3:6AFB5182 |
| html-safe-nonce | b0581f55cd0d6e700ddd599e27ecffa75101c1a3fabce67dfde21ed18ded313d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTQwOjExRTZBQjoyMUEwMTg6MkZFNUMzOjZBRkI1MTgyIiwidmlzaXRvcl9pZCI6IjE4OTk5MTU1NjYyNTQyMDY3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e3e1efb7d2cd82b351ffe089be7e54463178f88994c104e4105e7bd2a71a870b |
| hovercard-subject-tag | pull_request:4742433847 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8619/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary The simple Chat effort picker (shown when the advanced model selector is off) labeled each effort one step lower than the effort it sends: Sends Old label New label medium Low Medium... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width