Skip to content

Commit 24d3124

Browse files
committed
Removing aiModelBasedRoundRobin api policy for GQL APIs
1 parent d3b6624 commit 24d3124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apim-apk-agent/pkg/managementserver/rest_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ func createAPIYaml(apiCPEvent *APICPEvent) (string, string, string) {
667667
}
668668

669669
var requestOperationPolicies []OperationPolicy
670-
if apiCPEvent.API.AIModelBasedRoundRobin != nil {
670+
if apiCPEvent.API.AIModelBasedRoundRobin != nil && apiCPEvent.API.APIType != "GraphQL" {
671671
aiModelBasedRoundRobin := apiCPEvent.API.AIModelBasedRoundRobin
672672
logger.LoggerMgtServer.Debugf("AIModelBasedRoundRobin : %+v", aiModelBasedRoundRobin)
673673
wrr := ModelBasedRoundRobinConfig{

0 commit comments

Comments
 (0)