Go: fix db alignment (#16964)

### Summary

Align go db schema with python

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-16 16:00:56 +08:00
committed by GitHub
parent 5ab424c10c
commit 8bb2cd0fb7
19 changed files with 129 additions and 45 deletions
@@ -56,9 +56,9 @@ func defaultResolveTenantModelByType(tenantID string, modelType entity.ModelType
case entity.ModelTypeImage2Text:
modelID = tenant.Img2TxtID
case entity.ModelTypeTTS:
modelID = tenant.TTSID
modelID = *tenant.TTSID
case entity.ModelTypeOCR:
modelID = tenant.OCRID
modelID = *tenant.OCRID
default:
return nil, "", nil, 0, fmt.Errorf("invalid model type: %s", modelType)
}