Skip to content

Drive TUI service-tier commands from model metadata - #20824

Closed
aibrahim-oai wants to merge 10 commits into
dev/service-tier-core-model-infofrom
dev/service-tier-tui-commands
Closed

Drive TUI service-tier commands from model metadata#20824
aibrahim-oai wants to merge 10 commits into
dev/service-tier-core-model-infofrom
dev/service-tier-tui-commands

Conversation

@aibrahim-oai

@aibrahim-oai aibrahim-oai commented May 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Build service-tier slash commands from the active model serviceTiers metadata instead of hardcoded command variants.
  • Use the normalized tier name as the command token and dispatch or persist the backend tier id.
  • Preserve the old tier-command UX generically: bare toggle plus on, off, and status.
  • Refresh available dynamic commands when model/session metadata changes.
  • Render selected service-tier status generically in status line, title, and related tooltips.

Verification

  • Not run locally per repo guidance; CI will validate.

@aibrahim-oai

aibrahim-oai commented May 2, 2026

Copy link
Copy Markdown
Contributor Author

@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-app-server branch from 380497d to 61b0f51 Compare May 2, 2026 21:29
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from da721fc to 6fdfdcd Compare May 2, 2026 21:29
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-app-server branch from 61b0f51 to 51368db Compare May 2, 2026 21:39
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 6fdfdcd to 84edb59 Compare May 2, 2026 21:39
Base automatically changed from dev/service-tier-app-server to dev/service-tier-core-model-info May 2, 2026 23:04
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 84edb59 to 5dcdaae Compare May 2, 2026 23:04
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 5dcdaae to 7154a2f Compare May 2, 2026 23:49
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 7154a2f to e911b8c Compare May 2, 2026 23:54
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from e911b8c to 65fd60a Compare May 2, 2026 23:59
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 140ec5d to a7810e1 Compare May 3, 2026 00:46
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 70c2754 to a623662 Compare May 3, 2026 21:44
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 1f6912b to 77d0fd6 Compare May 3, 2026 21:51

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f6912bcee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/tui/src/chatwidget/service_tiers.rs Outdated
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from 77d0fd6 to e5b9f6b Compare May 3, 2026 22:03
@aibrahim-oai
aibrahim-oai force-pushed the dev/service-tier-tui-commands branch from e5b9f6b to 6afdb2c Compare May 3, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant