feat: 支持多数据库配置与PGVector检索

This commit is contained in:
2026-04-03 17:59:04 +08:00
parent 3adb14132b
commit 7acee87023
2 changed files with 1 additions and 2 deletions

View File

@@ -441,7 +441,6 @@ type modelCache struct {
func checkSchemaConfig(ctx context.Context) (uint64, bool) {
user, err := utils.GetUserInfo(ctx)
if err != nil {
glog.Errorf(ctx, "[DB] GetUserInfo error: %v", err)
return 0, false
}
var schema = fmt.Sprintf("%s%v", schemaPrefix, user.TenantId)