@@ -415,7 +415,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
415415 },
416416 }
417417 // Populate TLS fields in BaseModel
418- openai .BaseModel . TLSInsecureSkipVerify , openai .BaseModel . TLSCACertPath , openai . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
418+ openai .TLSInsecureSkipVerify , openai .TLSCACertPath , openai .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
419419 // Populate TokenExchange fields (OpenAI-specific)
420420 addTokenExchangeConfiguration (openai , modelDeploymentData , & model .Spec )
421421 openai .APIKeyPassthrough = model .Spec .APIKeyPassthrough
@@ -473,7 +473,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
473473 },
474474 }
475475 // Populate TLS fields in BaseModel
476- anthropic .BaseModel . TLSInsecureSkipVerify , anthropic .BaseModel . TLSCACertPath , anthropic . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
476+ anthropic .TLSInsecureSkipVerify , anthropic .TLSCACertPath , anthropic .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
477477 anthropic .APIKeyPassthrough = model .Spec .APIKeyPassthrough
478478
479479 if model .Spec .Anthropic != nil {
@@ -522,7 +522,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
522522 },
523523 }
524524 // Populate TLS fields in BaseModel
525- azureOpenAI .BaseModel . TLSInsecureSkipVerify , azureOpenAI .BaseModel . TLSCACertPath , azureOpenAI . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
525+ azureOpenAI .TLSInsecureSkipVerify , azureOpenAI .TLSCACertPath , azureOpenAI .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
526526 azureOpenAI .APIKeyPassthrough = model .Spec .APIKeyPassthrough
527527
528528 return azureOpenAI , modelDeploymentData , secretHashBytes , nil
@@ -567,7 +567,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
567567 },
568568 }
569569 // Populate TLS fields in BaseModel
570- gemini .BaseModel . TLSInsecureSkipVerify , gemini .BaseModel . TLSCACertPath , gemini . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
570+ gemini .TLSInsecureSkipVerify , gemini .TLSCACertPath , gemini .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
571571 gemini .APIKeyPassthrough = model .Spec .APIKeyPassthrough
572572
573573 return gemini , modelDeploymentData , secretHashBytes , nil
@@ -608,7 +608,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
608608 },
609609 }
610610 // Populate TLS fields in BaseModel
611- anthropic .BaseModel . TLSInsecureSkipVerify , anthropic .BaseModel . TLSCACertPath , anthropic . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
611+ anthropic .TLSInsecureSkipVerify , anthropic .TLSCACertPath , anthropic .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
612612 anthropic .APIKeyPassthrough = model .Spec .APIKeyPassthrough
613613
614614 return anthropic , modelDeploymentData , secretHashBytes , nil
@@ -632,7 +632,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
632632 Options : model .Spec .Ollama .Options ,
633633 }
634634 // Populate TLS fields in BaseModel
635- ollama .BaseModel . TLSInsecureSkipVerify , ollama .BaseModel . TLSCACertPath , ollama . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
635+ ollama .TLSInsecureSkipVerify , ollama .TLSCACertPath , ollama .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
636636 ollama .APIKeyPassthrough = model .Spec .APIKeyPassthrough
637637
638638 return ollama , modelDeploymentData , secretHashBytes , nil
@@ -655,7 +655,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
655655 },
656656 }
657657 // Populate TLS fields in BaseModel
658- gemini .BaseModel . TLSInsecureSkipVerify , gemini .BaseModel . TLSCACertPath , gemini . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
658+ gemini .TLSInsecureSkipVerify , gemini .TLSCACertPath , gemini .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
659659 return gemini , modelDeploymentData , secretHashBytes , nil
660660 case v1alpha2 .ModelProviderBedrock :
661661 if model .Spec .Bedrock == nil {
@@ -743,7 +743,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
743743 }
744744
745745 // Populate TLS fields in BaseModel
746- bedrock .BaseModel . TLSInsecureSkipVerify , bedrock .BaseModel . TLSCACertPath , bedrock . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
746+ bedrock .TLSInsecureSkipVerify , bedrock .TLSCACertPath , bedrock .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
747747 bedrock .APIKeyPassthrough = model .Spec .APIKeyPassthrough
748748
749749 return bedrock , modelDeploymentData , secretHashBytes , nil
@@ -792,7 +792,7 @@ func (a *adkApiTranslator) translateModel(ctx context.Context, namespace, modelC
792792 AuthUrl : model .Spec .SAPAICore .AuthURL ,
793793 }
794794
795- sapAICore .BaseModel . TLSInsecureSkipVerify , sapAICore .BaseModel . TLSCACertPath , sapAICore . BaseModel .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
795+ sapAICore .TLSInsecureSkipVerify , sapAICore .TLSCACertPath , sapAICore .TLSDisableSystemCAs = deriveTLSFields (model .Spec .TLS )
796796 sapAICore .APIKeyPassthrough = model .Spec .APIKeyPassthrough
797797
798798 return sapAICore , modelDeploymentData , secretHashBytes , nil
0 commit comments