feat: add Azure OpenAI support for VLM models

This commit is contained in:
liweixin
2026-04-07 19:15:32 +08:00
committed by lyingbug
parent 22ec575727
commit 3cfd034eec
3 changed files with 25 additions and 3 deletions
+2
View File
@@ -447,6 +447,8 @@ func (s *modelService) GetVLMModel(ctx context.Context, modelId string) (vlm.VLM
ModelName: model.Name,
Source: model.Source,
InterfaceType: ifType,
Provider: model.Parameters.Provider,
Extra: stringMapToAnyMap(model.Parameters.ExtraConfig),
}, s.ollamaService)
if err != nil {
logger.ErrorWithFields(ctx, err, map[string]interface{}{