| 43 | ) |
| 44 | |
| 45 | type imlLocalModel struct { |
| 46 | localModelService ai_local.ILocalModelService `autowired:""` |
| 47 | localModelPackageService ai_local.ILocalModelPackageService `autowired:""` |
| 48 | localModelStateService ai_local.ILocalModelInstallStateService `autowired:""` |
| 49 | localModelCacheService ai_local.ILocalModelCacheService `autowired:""` |
| 50 | balanceService ai_balance.IBalanceService `autowired:""` |
| 51 | clusterService cluster.IClusterService `autowired:""` |
| 52 | aiAPIService ai_api.IAPIService `autowired:""` |
| 53 | routerService api.IAPIService `autowired:""` |
| 54 | serviceService service.IServiceService `autowired:""` |
| 55 | settingService setting.ISettingService `autowired:""` |
| 56 | transaction store.ITransaction `autowired:""` |
| 57 | } |
| 58 | |
| 59 | func (i *imlLocalModel) SyncLocalModels(ctx context.Context, address string) error { |
| 60 | releases, err := i.getLocalModels(ctx, address) |
nothing calls this directly
no outgoing calls
no test coverage detected