Skip to content

[AutoDev] FLOW-2410 Fix premium models list - #1890

Open
atlassian[bot] wants to merge 1 commit into
mainfrom
FLOW-2410-fix-premium-models-list-ede00
Open

[AutoDev] FLOW-2410 Fix premium models list#1890
atlassian[bot] wants to merge 1 commit into
mainfrom
FLOW-2410-fix-premium-models-list-ede00

Conversation

@atlassian

@atlassian atlassian Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

🤖 This PR was generated by AutoDev bot.

Action needed: please review, approve, and merge this PR if it is ready. We collect decline feedback to improve quality. Thanks!
Changes needed or questions? Leave comments. Autodev now addresses PR comments every few hours.

Fix premium models inclusion in model selection list

This update ensures that the model selection list in the atlascode extension correctly includes premium models such as Claude Sonnet and Claude Opus by passing the include_premium=true query parameter to the /v3/agent-models API. This change aligns the model list shown in the extension with the one displayed in Jira.

Key changes:

  • Modify getAvailableAgentModels method in rovoDevApiClient.ts to accept an optional includePremium boolean parameter (defaulting to true) and append include_premium query parameter accordingly.
  • Update tests in rovoDevApiClient.test.ts to verify the API call includes the correct query parameter for both true and false cases.
  • Update error message expectations in tests to reflect the new API endpoint with query parameter.
  • Add a changelog entry documenting the bug fix for premium model inclusion.

This fix addresses the discrepancy between the model lists in Jira and the atlascode extension by ensuring both fetch from the same source with consistent parameters.


Rovo Dev code review: Rovo Dev couldn't review this pull request
Rovo Dev does not review pull requests created by bot accounts.

The model selection in the atlascode extension was missing premium models
(e.g. Claude Sonnet, Claude Opus) that were visible in the Jira web UI.
Added include_premium=true query parameter to the /v3/agent-models API
call so the extension fetches the full model list including premium models.

Fixes: FLOW-2410

Co-authored-by: Evan Cook <ecook@atlassian.com>
@atlassian-cla-bot

Copy link
Copy Markdown

Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution.
If your email is listed below, please ensure that you sign the CLA with the same email address.

The following users still need to sign our CLA:
a393d78c-73d8-4f4d-84ea-500a2d3d8fc3@connect.atlassian.com

Already signed the CLA? To re-check, try refreshing the page.

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.

0 participants