Skip to content

Commit

Permalink
fix ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Oct 11, 2024
1 parent e038546 commit 90fdf82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
22 changes: 4 additions & 18 deletions x-pack/plugins/ml/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,11 @@ export const config: PluginConfigDescriptor<ConfigSchema> = {
exposeToBrowser: {
ad: true,
dfa: true,
nlp: true,
experimental: true,
modelDeployment: {
allowStaticAllocations: true,
vCPURange: {
low: {
min: 0,
max: 2,
},
medium: {
min: 1,
max: 16,
},
high: {
min: 1,
max: 32,
},
},
nlp: {
enabled: true,
modelDeployment: true,
},
experimental: true,
},
};

Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/ml/trained_models_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function TrainedModelsTableProvider(
/**
* Maps the vCPU level to the corresponding value in the slider.
*/
private readonly vCPULevelValueMap = {
public readonly vCPULevelValueMap = {
low: 0.5,
medium: 1.5,
high: 2.5,
Expand Down

0 comments on commit 90fdf82

Please sign in to comment.