api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Multiple weights can be assigned to the same model in AI policy

Open RakhithaRR opened this issue 10 months ago • 1 comments

Description

Multiple weights can be added for the models listed under the weighted policy in AI policy. This should be corrected so that once a weight is added to a model, it is no longer shown in the dropdown.

Steps to Reproduce

Create an AI API and add the weighted round robin policy with weight for the models

Version

4.5.0-beta

Environment Details (with versions)

No response

RakhithaRR avatar Feb 24 '25 06:02 RakhithaRR

Reopening this since fix [1] was reverted.

We need to modify this fix to include model & endpoint pair as opposed to just blocking same model addition.

  1. https://github.com/wso2/apim-apps/pull/965

ashera96 avatar Mar 20 '25 06:03 ashera96