[AutoDev] FLOW-2410 Fix premium models list - #1890
Open
atlassian[bot] wants to merge 1 commit into
Open
Conversation
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
Bot
requested review from
Blastoplex,
amarg-at,
bwieger-atlassian-com,
cabella-dot,
ccallcottstevens,
cindy-atl,
dchiew-atl,
jwang19-atlassian,
marcomura,
matt-lassian,
mattcolman,
sdzh-atlassian and
teg-atlassian
as code owners
June 30, 2026 04:23
|
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. Already signed the CLA? To re-check, try refreshing the page. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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=truequery parameter to the/v3/agent-modelsAPI. This change aligns the model list shown in the extension with the one displayed in Jira.Key changes:
getAvailableAgentModelsmethod inrovoDevApiClient.tsto accept an optionalincludePremiumboolean parameter (defaulting to true) and appendinclude_premiumquery parameter accordingly.rovoDevApiClient.test.tsto verify the API call includes the correct query parameter for both true and false cases.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.