Skip to content

fix: display Kimi K3.1 Pro model label - #7833

Open
mmabrouk wants to merge 1 commit into
release/v0.125.1from
fix/playground-kimi-k3-1-pro-name
Open

mmabrouk wants to merge 1 commit into
release/v0.125.1from
fix/playground-kimi-k3-1-pro-name

Conversation

@mmabrouk

Copy link
Copy Markdown
Member

The playground could show a provider-style model string instead of the curated name Kimi K3.1 Pro when this OpenRouter model was selected.

The SDK's published model catalog had no entry for openrouter/moonshotai/kimi-k3.1-pro, so the playground label helpers had no curated label to resolve. This PR adds that entry and sets its label to Kimi K3.1 Pro.

Before: the catalog has no Kimi K3.1 Pro entry, and the UI uses fallback model-ID text.

After: the published catalog contains:

{
  "id": "openrouter/moonshotai/kimi-k3.1-pro",
  "label": "Kimi K3.1 Pro"
}

The full OpenRouter ID remains the saved and runnable value. Only display metadata changes. The model facts come from OpenRouter's public model catalog. The generated Pi catalog is unchanged.

Tests

  • SDK model catalog and capabilities tests: 78 passed.
  • Prompt model group tests: 85 passed.
  • Agent connection utility tests: 63 passed.
  • @agenta/entities build: 3 successful tasks.
  • The actual SDK capabilities document produced Kimi K3.1 Pro through both playground label-helper paths in a focused cross-runtime smoke test, with the model value unchanged.
  • pnpm lint-fix in web, Ruff formatting and checks, and git diff --check passed.
  • /m and /m/auth rendered without browser exceptions at desktop and mobile sizes using local authentication stubs.

The exact affected control was not reproduced in an authenticated playground browser session. Verification covers the real published SDK document and both traced UI label paths.

How to review

  1. Review pi_models.curated.json for the curated entry, source note, model facts, and display label.
  2. Review test_model_catalog.py to see the entry read from the actual published capabilities document.
  3. Review prompt-model-groups.test.ts for the picker and selected-label behavior, the unchanged runnable ID, and the unchanged fallback for uncatalogued models.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between e396846 and 2dd5943.

Files selected for processing: 3
  • sdks/python/agenta/sdk/agents/data/pi_models.curated.json
  • sdks/python/oss/tests/pytest/unit/agents/connections/test_model_catalog.py
  • web/packages/agenta-entities/tests/unit/prompt-model-groups.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Website preview

Preview URL: https://pr-7833-agenta-website-preview.mahmoud-637.workers.dev

Built from 2dd5943ffc5fa81d2ce49d502ee467f5d0165bce. This comment updates in place on every push.

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Item Value
Status stopped
Commit 2dd5943ffc5fa81d2ce49d502ee467f5d0165bce
Manual expiry (UTC) Not granted
CI deadline (UTC) Not granted
Workflow https://github.com/Agenta-AI/agenta/actions/runs/40389087350

Provisioning failed; no manual review time granted. Environment absence verified; retained storage requires separate provider accounting.

Post /preview as a new comment to request a one-hour preview. Repeating it while active does not extend the hour.
Preview data is disposable. Expiry is enforced by the next successful cleanup sweep, not an exact timer.
Environment deletion stops its compute. Provider-retained storage and permanent services may still be billed.

This branch has not been deployed

No deployments
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